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.
@@ -1362,7 +1362,7 @@ var getCtesFeesResult = function (feesToCalc, cte, allFeesForCalc) {
1362
1362
  if (icmsCalculation.isValid && !isNaN(+icmsCalculation.total)) {
1363
1363
  results.push({
1364
1364
  total: +(icmsCalculation.total).toFixed(2),
1365
- resultFee: "(".concat(icmsCalculation.totalValueFromAllFees.toFixed(2), " / ").concat(icmsCalculation.valueToDivide, ") x ").concat(icmsRate, " = ").concat(icmsCalculation.total.toFixed(2)),
1365
+ 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' })),
1366
1366
  feeValue: icmsRate,
1367
1367
  feeId: icmsFee.feeId,
1368
1368
  });
Binary file