Sha256: 409f3621b1b9f913e429cbf141915c897eaf5d81812a5008397b595778e94d8f

Contents?: true

Size: 1.04 KB

Versions: 1

Compression:

Stored size: 1.04 KB

Contents

= haml "orders/menu".to_sym

%h1 Non-Remote Order for supplier #{@supplier.name}

#modal-plot.modal-plot

%center
  %form.pure-form(action="" method="post")
    %input(name="supplier_id" type="hidden" value="#{@supplier.id}")
    %table.pure-table
      %thead
        %tr
          %th Name
          %th Qty
          %th Packsize
          %th Stock/ Sales
      %tbody
        - @products.find_each do |product|
          %tr
            %td
              = product_link product
            %td
              = haml "widgets/_qty_wished_input".to_sym, locals: {product: product}
            %td
              - if product.packsize.present?
                = product.packsize
              - else
                %i.fa.fa-ban
            %td
              - stock_url = "/product/#{product.id}/stock_sales_plot"
              %a.stock_show_action{:href => "", :data => {url: stock_url, product: product.name}}
                Stock/Sales


    %br
    %center
      %button.pure-button.pure-button-primary
        %i.fa.fa-envelope
        Send me the mail!

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rawbotz-0.1.3 lib/rawbotz/views/order/non_remote.haml