Sha256: 783cec7ed75aa53f290c81c37486fa78f2430b5247f60f2229b6613281b02869

Contents?: true

Size: 942 Bytes

Versions: 13

Compression:

Stored size: 942 Bytes

Contents

Refund Confirmation


Order number: #{@order.id}
Refund Date: #{l(@order.created_at_local_to_organization)}
Refund total:  -$#{format("%.2f", (@order.total.abs/100.0))}

-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
    - @order.tickets.each do |item|
      ="#{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
    - @order.donations.each do |item|
      = "Donation to #{@order.organization.name_for_donations}"
      = "-$#{format("%.2f", (item.price.abs/100.00))}"

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
artfully_ose-1.2.0.beta.1 app/views/order_mailer/confirmation_for_refund.text.haml
artfully_ose-1.2.0.alpha.2 app/views/order_mailer/confirmation_for_refund.text.haml
artfully_ose-1.2.0.alpha.1 app/views/order_mailer/confirmation_for_refund.text.haml
artfully_ose-1.2.0.pre.27 app/views/order_mailer/confirmation_for_refund.text.haml
artfully_ose-1.2.0.pre.26 app/views/order_mailer/confirmation_for_refund.text.haml
artfully_ose-1.2.0.pre.24 app/views/order_mailer/confirmation_for_refund.text.haml
artfully_ose-1.2.0.pre.23 app/views/order_mailer/confirmation_for_refund.text.haml
artfully_ose-1.2.0.pre.21 app/views/order_mailer/confirmation_for_refund.text.haml
artfully_ose-1.2.0.pre.20 app/views/order_mailer/confirmation_for_refund.text.haml
artfully_ose-1.2.0.pre.19 app/views/order_mailer/confirmation_for_refund.text.haml
artfully_ose-1.2.0.pre.18 app/views/order_mailer/confirmation_for_refund.text.haml
artfully_ose-1.2.0.pre.17 app/views/order_mailer/confirmation_for_refund.text.haml
artfully_ose-1.2.0.pre.16 app/views/order_mailer/confirmation_for_refund.text.haml