2013-11-25 13:48:54 +01:00
|
|
|
- title "Receiving #{@order.name}"
|
|
|
|
|
2013-12-18 21:06:05 +01:00
|
|
|
= form_tag(receive_order_path(@order)) do
|
2013-11-25 13:48:54 +01:00
|
|
|
%section#results
|
2013-12-18 21:06:05 +01:00
|
|
|
= render 'edit_amounts'
|
2013-11-26 23:48:21 +01:00
|
|
|
|
2013-11-25 13:48:54 +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)
|
2013-11-25 13:48:54 +01:00
|
|
|
|
|
|
|
%p= link_to_top
|