Add initial/basic support for damaged/expired items in receiving batch
This commit is contained in:
parent
dd08b71458
commit
1ab2a70e60
3 changed files with 36 additions and 9 deletions
|
@ -69,6 +69,18 @@
|
|||
$('#receiving-form').submit();
|
||||
});
|
||||
|
||||
$('#damaged').click(function() {
|
||||
$(this).button('disable').button('option', 'label', "Working...");
|
||||
$('#mode').val('damaged');
|
||||
$('#receiving-form').submit();
|
||||
});
|
||||
|
||||
$('#expired').click(function() {
|
||||
$(this).button('disable').button('option', 'label', "Working...");
|
||||
$('#mode').val('expired');
|
||||
$('#receiving-form').submit();
|
||||
});
|
||||
|
||||
$('#receiving-form').submit(function() {
|
||||
$(this).mask("Working...");
|
||||
});
|
||||
|
@ -138,8 +150,8 @@
|
|||
|
||||
<div class="buttons">
|
||||
<button type="button" id="received">Received</button>
|
||||
<button type="button" id="damaged" disabled="disabled">Damaged</button>
|
||||
<button type="button" id="expired" disabled="disabled">Expired</button>
|
||||
<button type="button" id="damaged">Damaged</button>
|
||||
<button type="button" id="expired">Expired</button>
|
||||
<button type="button" id="mispick" disabled="disabled">Mispick</button>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue