Sha256: 87c34ec7d206351e78f0584a84910350ce252a0d9dab84261dbccb35f4cb6389

Contents?: true

Size: 586 Bytes

Versions: 8

Compression:

Stored size: 586 Bytes

Contents

= form_tag [:refund, @order, @payment], :class => 'refundForm' do
  %h2 Issue Refund
  %p.intro
    To issue a refund for this payment, just enter the amount you wish to refund below and click 'Refund'.
    The maximum you can refund is <b>#{number_to_currency @payment.refundable_amount}</b>.
  
  .moneyInput
    .currency= Shoppe.settings.currency_unit.html_safe
    = text_field_tag 'amount', @payment.refundable_amount, :class => 'text'
  %p.submit
    = submit_tag "Refund", :class => 'button green'
    = link_to "Close", '#', :class => 'button grey', :rel => 'closeDialog'
    

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
shoppe-1.0.2 app/views/shoppe/payments/refund.html.haml
shoppe-1.0.1 app/views/shoppe/payments/refund.html.haml
shoppe-1.0.0 app/views/shoppe/payments/refund.html.haml
shoppe-0.0.21 app/views/shoppe/payments/refund.html.haml
shoppe-0.0.20 app/views/shoppe/payments/refund.html.haml
shoppe-0.0.19 app/views/shoppe/payments/refund.html.haml
shoppe-0.0.18 app/views/shoppe/payments/refund.html.haml
shoppe-0.0.17 app/views/shoppe/payments/refund.html.haml