b2m-utils 0.0.270 → 0.0.272
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.esm.js +6 -0
- package/build/index.esm.js.gz +0 -0
- package/build/index.esm.js.map +1 -1
- package/build/index.js +6 -0
- package/build/index.js.gz +0 -0
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -1281,8 +1281,14 @@ var getCtesFeesResult = function (feesToCalc, cte, allFeesForCalc) {
|
|
|
1281
1281
|
// Separar ICMS das outras fees
|
|
1282
1282
|
var icmsFee = feesToCalc.find(function (f) { var _a; return ((_a = f.fee) === null || _a === void 0 ? void 0 : _a.id) === exports.FeeEnum.ICMS; });
|
|
1283
1283
|
var nonIcmsFees = feesToCalc.filter(function (f) { var _a; return ((_a = f.fee) === null || _a === void 0 ? void 0 : _a.id) !== exports.FeeEnum.ICMS; });
|
|
1284
|
+
console.log({
|
|
1285
|
+
nonIcmsFees: nonIcmsFees,
|
|
1286
|
+
});
|
|
1284
1287
|
var _loop_1 = function (item) {
|
|
1285
1288
|
var feeTotal = calculateFee(item, cte, feesToCalc, false, allFeesForCalc);
|
|
1289
|
+
console.log({
|
|
1290
|
+
feeTotal: feeTotal,
|
|
1291
|
+
});
|
|
1286
1292
|
if (feeTotal === null || feeTotal === void 0 ? void 0 : feeTotal.totalFee) {
|
|
1287
1293
|
var totalFee = feeTotal.totalFee, resultFee = feeTotal.resultFee, feeValue = feeTotal.feeValue;
|
|
1288
1294
|
var totalToPush = totalFee;
|
package/build/index.js.gz
CHANGED
|
Binary file
|