Skip to content

Commit 83514d2

Browse files
Revert lowering quantity max input
1 parent 21bf761 commit 83514d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/stock-adjustment-creation/adjustment-creation.controller.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@
280280
&& lineItem.reason.reasonType === REASON_TYPES.DEBIT) {
281281
lineItem.$errors.quantityInvalid = messageService
282282
.get('stockAdjustmentCreation.quantityGreaterThanStockOnHand');
283-
} else if (lineItem.quantity > 1000000) {
283+
} else if (lineItem.quantity > MAX_INTEGER_VALUE) {
284284
lineItem.$errors.quantityInvalid = messageService.get('stockmanagement.numberTooLarge');
285285
} else if (lineItem.quantity >= 1) {
286286
lineItem.$errors.quantityInvalid = false;

0 commit comments

Comments
 (0)