Sha256: 209f07533b1a8024e23fd67d794b741ec04dd06dff1bc5f3f7364eb2e6bb6775
Contents?: true
Size: 1.21 KB
Versions: 2
Compression:
Stored size: 1.21 KB
Contents
.panel.panel-default .panel-body %h2 Admin: Offline Payment = effective_form_with(model: order, url: effective_orders.mark_as_paid_order_path(order), method: :post) do |f| = hidden_field_tag(:purchased_url, purchased_url) = hidden_field_tag(:declined_url, declined_url) = f.select :payment_provider, EffectiveOrders.payment_providers, required: true = f.text_field :payment_card, label: 'Payment card type, cheque or transaction number', placeholder: 'visa card', hint: 'Full credit card numbers should not be entered here, or anywhere.' = f.text_area :payment, label: 'Additional details', input_html: { value: f.object.payment.kind_of?(Hash) ? f.object.payment[:details] : f.object.payment.presence } = f.check_box :send_mark_as_paid_email_to_buyer, label: 'Yes, send a receipt email to the buyer.', input_html: { checked: (f.object.send_mark_as_paid_email_to_buyer.nil? ? EffectiveOrders.mailer[:send_order_receipts_when_mark_as_paid] : f.object.send_mark_as_paid_email_to_buyer?) } = f.text_area :note_to_buyer, hint: 'This message will be displayed on the receipt.' = effective_save(f, 'Admin: Mark as Paid')
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
effective_orders-4.0.0beta2 | app/views/effective/orders/mark_as_paid/_form.html.haml |
effective_orders-4.0.0beta1 | app/views/effective/orders/mark_as_paid/_form.html.haml |