b2m-utils 0.0.278 → 0.0.279

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/build/index.js CHANGED
@@ -1366,7 +1366,7 @@ var getCtesFeesResult = function (feesToCalc, cte, allFeesForCalc) {
1366
1366
  if (icmsCalculation.isValid && !isNaN(+icmsCalculation.total)) {
1367
1367
  results.push({
1368
1368
  total: +(icmsCalculation.total).toFixed(2),
1369
- resultFee: "(".concat(icmsCalculation.totalValueFromAllFees.toFixed(2), " / ").concat(icmsCalculation.valueToDivide, ") x ").concat(icmsRate, " = ").concat(icmsCalculation.total.toFixed(2)),
1369
+ resultFee: "(".concat(icmsCalculation.totalValueFromAllFees.toLocaleString('pt-BR', { style: 'currency', currency: 'BRL' }), " / ").concat(icmsCalculation.valueToDivide, ") x ").concat(icmsRate, " = ").concat(icmsCalculation.total.toLocaleString('pt-BR', { style: 'currency', currency: 'BRL' })),
1370
1370
  feeValue: icmsRate,
1371
1371
  feeId: icmsFee.feeId,
1372
1372
  });
package/build/index.js.gz CHANGED
Binary file