partkeepr

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

commit 1306612665031a4ca00fc44bc087df3d6711f1c3
parent c0f94f6c1e30613067c489141f4b04346feb6855
Author: Felicitus <felicitus@felicitus.org>
Date:   Mon, 14 May 2012 08:15:09 +0200

Added the now-default precision of 4 to the StockHistory and the Add/Remove Stock window

Diffstat:
Msrc/frontend/js/Components/Part/PartStockWindow.js | 1+
Msrc/frontend/js/Components/StockReport/AbstractStockHistoryGrid.js | 1+
2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/frontend/js/Components/Part/PartStockWindow.js b/src/frontend/js/Components/Part/PartStockWindow.js @@ -53,6 +53,7 @@ Ext.define('PartKeepr.PartStockWindow', { mouseWheelEnabled: false, anchor: '100%', value: 0, + decimalPrecision: 4, fieldLabel: i18n("Price"), listeners: { specialkey: { diff --git a/src/frontend/js/Components/StockReport/AbstractStockHistoryGrid.js b/src/frontend/js/Components/StockReport/AbstractStockHistoryGrid.js @@ -44,6 +44,7 @@ Ext.define('PartKeepr.AbstractStockHistoryGrid', { header: i18n("Price"), editor: { xtype:'numberfield', + decimalPrecision: 4, allowBlank:false }, dataIndex: 'price',