Add quick-receive 1EA, 3EA, 6EA for mobile receiving

but only when cases are allowed.  at least for now...should surely be more
configurable than we have it now
This commit is contained in:
Lance Edgar 2018-09-19 17:11:16 -05:00
parent 2939b53467
commit be49ca6967

View file

@ -90,6 +90,13 @@
<button type="button" class="quick-receive" data-quantity="${quick_receive_quantity}" data-uom="${quick_receive_uom}">${quick_receive_text}</button>
% elif allow_cases:
<button type="button" class="quick-receive" data-quantity="1" data-uom="CS">Receive 1 CS</button>
<div>
## TODO: probably should make these optional / configurable
<button type="button" class="quick-receive ui-btn ui-btn-inline ui-corner-all" data-quantity="1" data-uom="EA">1 EA</button>
<button type="button" class="quick-receive ui-btn ui-btn-inline ui-corner-all" data-quantity="3" data-uom="EA">3 EA</button>
<button type="button" class="quick-receive ui-btn ui-btn-inline ui-corner-all" data-quantity="6" data-uom="EA">6 EA</button>
</div>
<br />
% else:
<button type="button" class="quick-receive" data-quantity="1" data-uom="${unit_uom}">Receive 1 ${unit_uom}</button>
% endif