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
|
@ -68,9 +68,11 @@ $(document).on('click', 'form.receiving-update .receiving-actions button', funct
|
|||
});
|
||||
|
||||
|
||||
// quick-receive (1 CS)
|
||||
$(document).on('click', 'form.receiving-update .receive-one-case', function() {
|
||||
var form = $(this).parents('form:first');
|
||||
form.find('[name="mode"]').val('received');
|
||||
form.find('[name="cases"]').val('1');
|
||||
form.find('input[name="quick_receive"]').val('true');
|
||||
form.submit();
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue