commit ca57de77c5c04a0946b9bb838625e7e30d3150fa parent fd9ab4c2e95dafd14beb212e825037f8bc5b9f46 Author: dromer <1185977+dromer@users.noreply.github.com> Date: Thu, 18 Jun 2020 16:51:52 +0200 Merge pull request #1126 from mertercan/master Remove stock issue was solved Diffstat:
M | src/PartKeepr/FrontendBundle/Resources/public/js/Components/Part/PartStockWindow.js | | | 1 | + |
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/PartKeepr/FrontendBundle/Resources/public/js/Components/Part/PartStockWindow.js b/src/PartKeepr/FrontendBundle/Resources/public/js/Components/Part/PartStockWindow.js @@ -201,6 +201,7 @@ Ext.define('PartKeepr.PartStockWindow', { this.priceField.hide(); this.priceCheckbox.hide(); this.okButton.setIconCls("web-icon brick_delete"); + this.quantityField.maxValue = this.callbackScope.record.data.stockLevel; this.show(); } });