Sha256: cac75f7647f9444ad430179f5b69552c49f6d484a9209650b4933e5c2c902df1

Contents?: true

Size: 531 Bytes

Versions: 25

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

25 entries across 25 versions & 1 rubygems

Version Path
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
effective_orders-6.14.2 app/views/effective/orders/_datatable_actions.html.haml
effective_orders-6.14.1 app/views/effective/orders/_datatable_actions.html.haml
effective_orders-6.14.0 app/views/effective/orders/_datatable_actions.html.haml
effective_orders-6.13.3 app/views/effective/orders/_datatable_actions.html.haml
effective_orders-6.13.2 app/views/effective/orders/_datatable_actions.html.haml
effective_orders-6.13.1 app/views/effective/orders/_datatable_actions.html.haml
effective_orders-6.13.0 app/views/effective/orders/_datatable_actions.html.haml