Sha256: d5db3e1d3a79e905d6d26fcf61fca30b94b1b93b13f1152bd0ad24a9499ce3b9

Contents?: true

Size: 376 Bytes

Versions: 4

Compression:

Stored size: 376 Bytes

Contents

%h2 Order #{@order.supplier} from #{@order.created_at}

%table.pure-table.pure-table-striped
  %thead
    %tr
      %th Product
      %th Shelve
      %th Quantity
  %tbody
    - @order.order_items.where("num_ordered > 0").sort_by{|i| i.local_product.name}.each do |p|
      %tr
        %td=p.local_product.name
        %td=p.local_product.shelve_nr
        %td=p.num_ordered

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rawbotz-0.1.5 lib/rawbotz/views/order/packlist.haml
rawbotz-0.1.4 lib/rawbotz/views/order/packlist.haml
rawbotz-0.1.3 lib/rawbotz/views/order/packlist.haml
rawbotz-0.1.2 lib/rawbotz/views/order/packlist.haml