In the misc popup use 2 decimals for the misc amount.

Wed, 21 Aug 2019 14:03:08 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Wed, 21 Aug 2019 14:03:08 +0200
changeset 445
bcba4f17703f
parent 444
7e563dbbee32
child 446
ee7bcfb8e270

In the misc popup use 2 decimals for the misc amount.

www/js/prod_edit.js file | annotate | diff | comparison | revisions
--- a/www/js/prod_edit.js	Mon Aug 05 19:50:17 2019 +0200
+++ b/www/js/prod_edit.js	Wed Aug 21 14:03:08 2019 +0200
@@ -5055,7 +5055,7 @@
 			miscData.m_inventory = datarecord.inventory;
 		}
 	});
-	$("#wm_amount").jqxNumberInput( Spin1dec );
+	$("#wm_amount").jqxNumberInput( Spin2dec );
 	$('#wm_amount').on('change', function (event) {
 		console.log("amount changed: "+event.args.value);
 		miscData.m_amount = parseFloat(event.args.value) / 1000;

mercurial