|
@ -72,7 +72,7 @@ function pos_pricelist_widgets(instance, module) { |
|
|
var currency = (this.pos && this.pos.currency) ? this.pos.currency : {symbol:'$', position: 'after', rounding: 0.01, decimals: 2}; |
|
|
var currency = (this.pos && this.pos.currency) ? this.pos.currency : {symbol:'$', position: 'after', rounding: 0.01, decimals: 2}; |
|
|
var decimals = currency.decimals; |
|
|
var decimals = currency.decimals; |
|
|
|
|
|
|
|
|
if (precision && (typeof this.pos.dp[precision]) !== undefined) { |
|
|
|
|
|
|
|
|
if (precision && this.pos.dp[precision] !== undefined) { |
|
|
decimals = this.pos.dp[precision]; |
|
|
decimals = this.pos.dp[precision]; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|