Sha256: 4a981b8877ff7a3bd379ab9b5c4e0b5c5de560d32cb2808d49b233fe102664f4
Contents?: true
Size: 1.01 KB
Versions: 2
Compression:
Stored size: 1.01 KB
Contents
.effective-order-actions.pull-right %p = link_to 'Print', '#', class: 'btn btn-default print-button', data: { role: 'print-button' }, onClick: 'window.print(); false;' - if order.purchased? = link_to 'Resend Receipt', effective_orders.resend_buyer_receipt_path(order), class: 'btn btn-default', data: { confirm: 'This action will email the buyer a copy of the original email receipt. Send receipt now?', disable_with: 'Resending...' } - elsif (EffectiveOrders.authorized?(controller, :admin, :effective_orders) rescue false) = link_to 'Mark as Paid', effective_orders.mark_as_paid_admin_order_path(order), class: 'btn btn-default', method: :post, data: { confirm: 'Are you sure you want to mark this order as paid?', disable_with: 'Marking as paid...' } = link_to 'Send Payment Request', effective_orders.send_payment_request_admin_order_path(order), class: 'btn btn-default', method: :post, data: { confirm: 'This action will email buyer a payment request. Send it now?', disable_with: 'Sending...' }
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
effective_orders-2.0.1 | app/views/effective/orders/_order_actions.html.haml |
effective_orders-2.0.0 | app/views/effective/orders/_order_actions.html.haml |