Sha256: a3515b94fb980576de02c32bfecd33788a301daa1f7fe17f8448e2e840af29b1

Contents?: true

Size: 505 Bytes

Versions: 17

Compression:

Stored size: 505 Bytes

Contents

= dropdown(variation: :dropleft) do
  - if EffectiveResources.authorized?(controller, :checkout, order)
    = dropdown_link_to 'Checkout', effective_orders.order_path(order)
  - 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

17 entries across 17 versions & 1 rubygems

Version Path
effective_orders-6.9.10 app/views/effective/orders/_datatable_actions.html.haml
effective_orders-6.9.9 app/views/effective/orders/_datatable_actions.html.haml
effective_orders-6.9.8 app/views/effective/orders/_datatable_actions.html.haml
effective_orders-6.9.7 app/views/effective/orders/_datatable_actions.html.haml
effective_orders-6.9.6 app/views/effective/orders/_datatable_actions.html.haml
effective_orders-6.9.5 app/views/effective/orders/_datatable_actions.html.haml
effective_orders-6.9.4 app/views/effective/orders/_datatable_actions.html.haml
effective_orders-6.9.2 app/views/effective/orders/_datatable_actions.html.haml
effective_orders-6.9.1 app/views/effective/orders/_datatable_actions.html.haml
effective_orders-6.9.0 app/views/effective/orders/_datatable_actions.html.haml
effective_orders-6.8.2 app/views/effective/orders/_datatable_actions.html.haml
effective_orders-6.8.1 app/views/effective/orders/_datatable_actions.html.haml
effective_orders-6.8.0 app/views/effective/orders/_datatable_actions.html.haml
effective_orders-6.7.3 app/views/effective/orders/_datatable_actions.html.haml
effective_orders-6.7.2 app/views/effective/orders/_datatable_actions.html.haml
effective_orders-6.7.1 app/views/effective/orders/_datatable_actions.html.haml
effective_orders-6.7.0 app/views/effective/orders/_datatable_actions.html.haml