Improve how cases/units, uom are handled for mobile receiving
last-used uom should be more or less sticky, etc.
This commit is contained in:
parent
147c65afe6
commit
477a34cfa7
3 changed files with 44 additions and 10 deletions
|
@ -6,14 +6,6 @@
|
|||
|
||||
<%def name="page_title()">${h.link_to("Receiving", url('mobile.receiving'))} » ${h.link_to(batch.id_str, url('mobile.receiving.view', uuid=batch.uuid))} » ${row.upc.pretty()}</%def>
|
||||
|
||||
<%
|
||||
unit_uom = 'LB' if row.product and row.product.weighed else 'EA'
|
||||
|
||||
uom = 'CS'
|
||||
if row.units_ordered and not row.cases_ordered:
|
||||
uom = 'EA'
|
||||
%>
|
||||
|
||||
|
||||
<div class="ui-grid-a">
|
||||
<div class="ui-block-a">
|
||||
|
@ -102,6 +94,8 @@
|
|||
</tbody>
|
||||
</table>
|
||||
|
||||
${h.hidden('quick_receive', value='false')}
|
||||
|
||||
${h.hidden('delete_row', value='false')}
|
||||
% if request.has_perm('{}.delete_row'.format(permission_prefix)):
|
||||
<button type="button" id="delete-receiving-row">Delete this Row</button>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue