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

24 lines
639 B
Plaintext

- 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