move receive screen to orders

This commit is contained in:
wvengen 2013-12-18 21:06:05 +01:00
parent 94b4454a1b
commit d299fa4870
10 changed files with 75 additions and 79 deletions

View file

@ -0,0 +1,23 @@
- title "Receiving #{@order.name}"
= form_tag(receive_order_path(@order)) do
%section#results
= render 'edit_amounts'
.form-actions
.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'
= link_to t('ui.or_cancel'), order_path(@order)
%p= link_to_top