Sha256: 1ee741430bb83d9adf0054a0620845b6fd443f2ae58b775d74ec497c02ba788d

Contents?: true

Size: 954 Bytes

Versions: 18

Compression:

Stored size: 954 Bytes

Contents

Exchange Confirmation

="Order number: #{@order.id}"
="Exchange Date: #{l(@order.created_at_local_to_organization)}"

Here are your new tickets:

- unless @order.tickets.empty?
  - @order.ticket_summary.rows.each do |row|
    =row.show.event.name
    =l row.show.datetime_local_to_event, :format => :long_with_day
    -unless row.show.event.contact_email.blank?
      ="Event contact email: #{row.show.event.contact_email}"
    -unless row.show.event.contact_phone.blank?
      ="Event contact phone: #{row.show.event.contact_phone}"
    -row.ticket_type_hash.each do |ticket_type, tickets|
      -tickets.each do |ticket|
        = "#{ticket.ticket_type.name}: $#{format("%.2f", (ticket.sold_price/100.0))}"
        =ticket_type.description
        

    =row.show.event.venue.name
    =row.show.event.venue.address1
    -unless row.show.event.venue.address2.blank?
      =row.show.event.venue.address2
    =row.show.event.venue.city_state_zip_as_string

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
artfully_ose-1.3.0.pre4 app/views/order_mailer/confirmation_for_exchange.text.haml
artfully_ose-1.3.0.pre3 app/views/order_mailer/confirmation_for_exchange.text.haml
artfully_ose-1.3.0.pre2 app/views/order_mailer/confirmation_for_exchange.text.haml
artfully_ose-1.3.0.pre1 app/views/order_mailer/confirmation_for_exchange.text.haml
artfully_ose-1.2.0 app/views/order_mailer/confirmation_for_exchange.text.haml
artfully_ose-1.2.0.beta.1 app/views/order_mailer/confirmation_for_exchange.text.haml
artfully_ose-1.2.0.alpha.2 app/views/order_mailer/confirmation_for_exchange.text.haml
artfully_ose-1.2.0.alpha.1 app/views/order_mailer/confirmation_for_exchange.text.haml
artfully_ose-1.2.0.pre.27 app/views/order_mailer/confirmation_for_exchange.text.haml
artfully_ose-1.2.0.pre.26 app/views/order_mailer/confirmation_for_exchange.text.haml
artfully_ose-1.2.0.pre.24 app/views/order_mailer/confirmation_for_exchange.text.haml
artfully_ose-1.2.0.pre.23 app/views/order_mailer/confirmation_for_exchange.text.haml
artfully_ose-1.2.0.pre.21 app/views/order_mailer/confirmation_for_exchange.text.haml
artfully_ose-1.2.0.pre.20 app/views/order_mailer/confirmation_for_exchange.text.haml
artfully_ose-1.2.0.pre.19 app/views/order_mailer/confirmation_for_exchange.text.haml
artfully_ose-1.2.0.pre.18 app/views/order_mailer/confirmation_for_exchange.text.haml
artfully_ose-1.2.0.pre.17 app/views/order_mailer/confirmation_for_exchange.text.haml
artfully_ose-1.2.0.pre.16 app/views/order_mailer/confirmation_for_exchange.text.haml