Sha256: 32c71c6272b6df4d73688dd59d13a273d756af192078cc07ce0adcc16a16166a
Contents?: true
Size: 976 Bytes
Versions: 15
Compression:
Stored size: 976 Bytes
Contents
= dropdown(variation: :dropleft) do = dropdown_link_to 'View', effective_orders.admin_order_path(order) - if order.purchased? == false = dropdown_link_to 'Edit', effective_orders.edit_admin_order_path(order) - if order.purchased? = dropdown_link_to 'Email receipt to buyer', effective_orders.send_buyer_receipt_order_path(order), data: { method: :post, confirm: "Send receipt to #{order.emails_send_to}?" } - if (order.pending? || order.confirmed? || order.deferred?) && !order.refund? = dropdown_link_to 'Email request for payment to buyer', effective_orders.send_payment_request_admin_order_path(order), data: { method: :post, confirm: "Send request for payment to #{order.emails_send_to}?" } = dropdown_link_to 'Admin: Checkout', effective_orders.checkout_admin_order_path(order) = dropdown_link_to "Delete #{order}", effective_orders.admin_order_path(order), data: { method: :delete, confirm: "Really delete #{order}?" }
Version data entries
15 entries across 15 versions & 1 rubygems