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