foodsoft/app/views/orders/receive.html.haml

24 lines
639 B
Plaintext
Raw Normal View History

- title "Receiving #{@order.name}"
2013-12-18 21:06:05 +01:00
= form_tag(receive_order_path(@order)) do
%section#results
2013-12-18 21:06:05 +01:00
= render 'edit_amounts'
2013-11-26 23:48:21 +01:00
.form-actions
2013-11-26 23:48:21 +01:00
.pull-left
Surplus to
= label_tag :rest_to_tolerance, class: 'inline' do
= check_box_tag :rest_to_tolerance, 1, true
member tolerance,
%span{style: 'color: grey'}
and
= label_tag :rest_to_stock, class: 'inline' do
= check_box_tag :rest_to_stock, 1, false, disabled: true
stock
.pull-right
= submit_tag t('.submit'), class: 'btn btn-primary'
2013-12-18 21:06:05 +01:00
= link_to t('ui.or_cancel'), order_path(@order)
%p= link_to_top