Sha256: cac75f7647f9444ad430179f5b69552c49f6d484a9209650b4933e5c2c902df1

Contents?: true

Size: 531 Bytes

Versions: 32

Compression:

Stored size: 531 Bytes

Contents

= dropdown(variation: :dropleft) do
  - if EffectiveResources.authorized?(controller, :checkout, order)
    = dropdown_link_to 'Checkout', effective_orders.order_path(order), 'data-turbolinks': false
  - else
    = dropdown_link_to 'View', effective_orders.order_path(order)

  - if EffectiveResources.authorized?(controller, :send_buyer_receipt, order)
    = dropdown_link_to 'E-mail Receipt', effective_orders.send_buyer_receipt_order_path(order),
      data: { method: :post, confirm: "Send receipt to #{order.emails.first}?" }

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
effective_orders-6.19.1 app/views/effective/orders/_datatable_actions.html.haml
effective_orders-6.19.0 app/views/effective/orders/_datatable_actions.html.haml
effective_orders-6.18.4 app/views/effective/orders/_datatable_actions.html.haml
effective_orders-6.18.3 app/views/effective/orders/_datatable_actions.html.haml
effective_orders-6.18.2 app/views/effective/orders/_datatable_actions.html.haml
effective_orders-6.18.1 app/views/effective/orders/_datatable_actions.html.haml
effective_orders-6.18.0 app/views/effective/orders/_datatable_actions.html.haml
effective_orders-6.17.2 app/views/effective/orders/_datatable_actions.html.haml
effective_orders-6.17.1 app/views/effective/orders/_datatable_actions.html.haml
effective_orders-6.17.0 app/views/effective/orders/_datatable_actions.html.haml
effective_orders-6.16.4 app/views/effective/orders/_datatable_actions.html.haml
effective_orders-6.16.3 app/views/effective/orders/_datatable_actions.html.haml
effective_orders-6.16.2 app/views/effective/orders/_datatable_actions.html.haml
effective_orders-6.16.1 app/views/effective/orders/_datatable_actions.html.haml
effective_orders-6.16.0 app/views/effective/orders/_datatable_actions.html.haml
effective_orders-6.15.0 app/views/effective/orders/_datatable_actions.html.haml
effective_orders-6.14.6 app/views/effective/orders/_datatable_actions.html.haml
effective_orders-6.14.5 app/views/effective/orders/_datatable_actions.html.haml
effective_orders-6.14.4 app/views/effective/orders/_datatable_actions.html.haml
effective_orders-6.14.3 app/views/effective/orders/_datatable_actions.html.haml