Sha256: c0ff77167d65f6a4d03f35c98d6c61d479fd0a9569cacfb31ff57f8ef459b280

Contents?: true

Size: 1.03 KB

Versions: 7

Compression:

Stored size: 1.03 KB

Contents

%h1 Refund Confirmation

%p
  Order number: #{@order.id}
  %br
  Refund Date: #{l(@order.created_at_local_to_organization)}
  %br
  Refund total:  -$#{format("%.2f", (@order.total.abs/100.0))}
  %br
  %br
  -if @order.original_order.credit?
    This refund was credited to the credit card you used as payment for this order.
  -if @order.original_order.cash?
    This refund was processed via cash or check. Please contact us with questions at #{@order.organization.email}.

- unless @order.items.empty?
  - unless @order.tickets.empty?
    These tickets were refunded:
    %ul.ticket-list
      - @order.tickets.each do |item|
        %li
          ="#{item.product.show.event}, #{l item.product.show.datetime_local_to_event, :format => :long_with_day}, -$#{format("%.2f", (item.price.abs/100.0))} "

  - unless @order.donations.empty?
    These donations were refunded:
    %ul.donation-list
      - @order.donations.each do |item|
        %li
          = "Donation to #{@order.organization.name_for_donations}, -$#{format("%.2f", (item.price.abs/100.00))}"

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
artfully_ose-1.2.0.pre.23 app/views/order_mailer/confirmation_for_refund.html.haml
artfully_ose-1.2.0.pre.21 app/views/order_mailer/confirmation_for_refund.html.haml
artfully_ose-1.2.0.pre.20 app/views/order_mailer/confirmation_for_refund.html.haml
artfully_ose-1.2.0.pre.19 app/views/order_mailer/confirmation_for_refund.html.haml
artfully_ose-1.2.0.pre.18 app/views/order_mailer/confirmation_for_refund.html.haml
artfully_ose-1.2.0.pre.17 app/views/order_mailer/confirmation_for_refund.html.haml
artfully_ose-1.2.0.pre.16 app/views/order_mailer/confirmation_for_refund.html.haml