More tweaks to support mobile inventory batches

This commit is contained in:
Lance Edgar 2017-07-11 21:59:12 -05:00
parent 8a5dbc33a7
commit 1791bd745b
4 changed files with 24 additions and 11 deletions

View file

@ -14,3 +14,11 @@ ${form.render()|n}
<br />
${grid.render_complete()|n}
% endif
% if not batch.executed and not batch.complete:
<br />
${h.form(request.route_url('mobile.batch.inventory.mark_complete', uuid=batch.uuid))}
${h.csrf_token(request)}
${h.hidden('mark-complete', value='true')}
<button type="submit">Mark Batch as Complete</button>
% endif