monkey-front-core 0.0.139 → 0.0.140
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/core/pipes/monkeyecx-format-tax.mjs +2 -2
- package/fesm2015/monkey-front-core.mjs +1 -1
- package/fesm2015/monkey-front-core.mjs.map +1 -1
- package/fesm2020/monkey-front-core.mjs +1 -1
- package/fesm2020/monkey-front-core.mjs.map +1 -1
- package/monkey-front-core-0.0.140.tgz +0 -0
- package/package.json +1 -1
- package/monkey-front-core-0.0.139.tgz +0 -0
|
@@ -1110,7 +1110,7 @@ class Validators {
|
|
|
1110
1110
|
class MonkeyEcxFormatTaxPipe {
|
|
1111
1111
|
transform(tax, decimalDigits = 7) {
|
|
1112
1112
|
if (!MonkeyEcxUtils.persistNullEmptyUndefined(tax))
|
|
1113
|
-
return '';
|
|
1113
|
+
return '0 %';
|
|
1114
1114
|
const stringTax = tax.toString();
|
|
1115
1115
|
const stringTaxLimited = stringTax.slice(0, stringTax.indexOf('.') + decimalDigits + 1);
|
|
1116
1116
|
return `${Number(stringTaxLimited).toLocaleString('pt-br', {
|