Fix CS/EA bug for mobile receiving
This commit is contained in:
parent
5d9210085f
commit
85d18a760b
|
@ -149,7 +149,7 @@ $(document).on('click', '#receiving-quantity-keypad-thingy .keypad-button', func
|
||||||
$(document).on('click', '.receiving-actions button', function() {
|
$(document).on('click', '.receiving-actions button', function() {
|
||||||
var action = $(this).data('action');
|
var action = $(this).data('action');
|
||||||
var form = $('form.receiving-update');
|
var form = $('form.receiving-update');
|
||||||
var uom = form.find('[name="receiving-uom"]:selected').val();
|
var uom = form.find('[name="receiving-uom"]:checked').val();
|
||||||
var mode = form.find('[name="mode"]:checked').val();
|
var mode = form.find('[name="mode"]:checked').val();
|
||||||
var qty = form.find('.receiving-quantity').text();
|
var qty = form.find('.receiving-quantity').text();
|
||||||
if (action == 'add' || action == 'subtract') {
|
if (action == 'add' || action == 'subtract') {
|
||||||
|
|
Loading…
Reference in a new issue