Sha256: 2f411ca94cede83ad2afe4d7aff712610df85bae96adb7e72529fa8a96d3234e
Contents?: true
Size: 760 Bytes
Versions: 4
Compression:
Stored size: 760 Bytes
Contents
= haml "orders/menu".to_sym %h1 Remote Order ID #{@remote_order_id} %br %table.pure-table.pure-table-striped %thead %tr %th Remote Name %th Local Name %th Qty %th Refund %th Shelve %tbody - @remote_products_qty.sort_by{|p,_| p.name}.each do |p, q| %tr %td = remote_product_link p %td -if p.local_product %a(href="/product/#{p.local_product.id}") = p.local_product.name -elsif p.is_a? RemoteProduct %a(href="/remote_product/#{p.id}/link") Link (broken) -else not in database %td=q %td %td -if shelve = p.local_product.try(:shelve_nr) = shelve
Version data entries
4 entries across 4 versions & 1 rubygems