Sha256: 91727ca236911a865f832372354629d41388537b405d960b2ac46dbb15ec87f0

Contents?: true

Size: 916 Bytes

Versions: 2

Compression:

Stored size: 916 Bytes

Contents

#items.grouped-form-target
  = form_tag do
    %table.zebra.table
      %thead
        %tr
          %th.grouped-checkbox= check_box_tag :all, nil, false, :class => :checkall
          %th Item
          %th Price
      %tbody
        - order.all_items.each do |item|
          %tr{:id => "row_item_#{item.id}", :class => item.state}
            %td.grouped-checkbox= check_box_tag "item_#{item.id}", item.id, false, :disabled => true
            %td.item-description
              - if item.product_type.eql?("Ticket")
                %span Ticket
                %span
                  to #{link_to "#{item.product.event.name}", event_path(item.product.event)},
                  #{link_to "#{l item.product.datetime}", event_show_path(item.product.show.event, item.product.show)}
              - if item.product_type.eql?("Donation")
                %span Donation
            %td.price= amount_and_nongift item

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
artfully_ose-1.0.0.rc4 app/views/orders/_item_table.haml
artfully_ose-1.0.0.rc3 app/views/orders/_item_table.haml