Sha256: a519d9823211b3768589edba900e6a049171e0407afefd909590435e2b0d9874

Contents?: true

Size: 798 Bytes

Versions: 37

Compression:

Stored size: 798 Bytes

Contents

%table.standalone.zebra.table
  %thead
    %tr
      %th Order
      %th Time
      %th Event and Show
      %th Amount
  %tbody
    - if orders.empty?
      %tr
        %td{:colspan => 4}
          No orders for this person
    - orders.each do |order|
      - order.items.select(&:ticket?).each_with_index do |item, index|
        %tr
          - if index == 0
            - rowspan = order.items.select(&:ticket?).size
            %td{:rowspan => rowspan}= link_to order.id, order_path(order.id)
            %td{:rowspan => rowspan}= l(order.created_at_local_to_organization, :format => :short)
          %td 
            ="#{item.product.event.name}"
            %br
            ="#{l item.product.show.datetime_local_to_event}"
          %td= number_as_cents item.price
= will_paginate(orders)

Version data entries

37 entries across 37 versions & 1 rubygems

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