partkeepr

fork of partkeepr
git clone https://git.e1e0.net/partkeepr.git
Log | Files | Refs | Submodules | README | LICENSE

commit 7845630aff28ba85238ff554e6add7c56e90964d
parent 1db3fe97138cbcc43858fe3aec5a96fd6037cfc7
Author: Timo A. Hummel <felicitus@felicitus.org>
Date:   Mon, 25 Apr 2016 17:03:17 +0200

Merge pull request #656 from partkeepr/PartKeepr-653

Bugfix for #653 where the item price per item is inverted
Diffstat:
Msrc/PartKeepr/FrontendBundle/Resources/public/js/Components/Part/Editor/PartEditor.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/PartKeepr/FrontendBundle/Resources/public/js/Components/Part/Editor/PartEditor.js b/src/PartKeepr/FrontendBundle/Resources/public/js/Components/Part/Editor/PartEditor.js @@ -359,7 +359,7 @@ Ext.define('PartKeepr.PartEditor', { stockLevel.set("stockLevel", initialStockLevel); stockLevel.setUser(this.initialStockLevelUser.getValue()); - if (this.initialStockLevelPricePerItem.getValue() === true) { + if (this.initialStockLevelPricePerItem.getValue() === false) { stockLevel.set("price", this.initialStockLevelPrice.getValue() / initialStockLevel); } else { stockLevel.set("price", this.initialStockLevelPrice.getValue());