Sha256: 4700a364dc4d81dcb71f8239752c8910d7b1dfd5a55082d80849b38deb126427

Contents?: true

Size: 1.26 KB

Versions: 6

Compression:

Stored size: 1.26 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))}"

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
artfully_ose-1.2.0.beta.1 app/views/order_mailer/confirmation_for_refund.html.haml
artfully_ose-1.2.0.alpha.2 app/views/order_mailer/confirmation_for_refund.html.haml
artfully_ose-1.2.0.alpha.1 app/views/order_mailer/confirmation_for_refund.html.haml
artfully_ose-1.2.0.pre.27 app/views/order_mailer/confirmation_for_refund.html.haml
artfully_ose-1.2.0.pre.26 app/views/order_mailer/confirmation_for_refund.html.haml
artfully_ose-1.2.0.pre.24 app/views/order_mailer/confirmation_for_refund.html.haml