b2m-utils 0.0.274 → 0.0.275
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 +0 -6
- package/build/index.esm.js.gz +0 -0
- package/build/index.esm.js.map +1 -1
- package/build/index.js +0 -6
- 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
|
@@ -582,9 +582,6 @@ var calculateFee = function (ratecardLaneFee, cte, allFees, debug, allFeesForCal
|
|
|
582
582
|
var filteredFeesResults = filterSiblingFees(filteredFees.map(function (it) {
|
|
583
583
|
return calculateFee(it, cte, allFees, debug, allFeesForCalc);
|
|
584
584
|
}));
|
|
585
|
-
console.log({
|
|
586
|
-
filteredFeesResults: filteredFeesResults,
|
|
587
|
-
});
|
|
588
585
|
var totalFromAllFees = filteredFeesResults.map(function (result) {
|
|
589
586
|
if (result === null || result === void 0 ? void 0 : result.totalToCalc) {
|
|
590
587
|
return result.totalToCalc;
|
|
@@ -1280,9 +1277,6 @@ var getCtesFeesResult = function (feesToCalc, cte, allFeesForCalc) {
|
|
|
1280
1277
|
// Separar ICMS das outras fees
|
|
1281
1278
|
var icmsFee = feesToCalc.find(function (f) { var _a; return ((_a = f.fee) === null || _a === void 0 ? void 0 : _a.id) === FeeEnum.ICMS; });
|
|
1282
1279
|
var nonIcmsFees = feesToCalc.filter(function (f) { var _a; return ((_a = f.fee) === null || _a === void 0 ? void 0 : _a.id) !== FeeEnum.ICMS; });
|
|
1283
|
-
console.log({
|
|
1284
|
-
nonIcmsFees: nonIcmsFees,
|
|
1285
|
-
});
|
|
1286
1280
|
var _loop_1 = function (item) {
|
|
1287
1281
|
var feeTotal = calculateFee(item, cte, feesToCalc, false, allFeesForCalc);
|
|
1288
1282
|
if (feeTotal === null || feeTotal === void 0 ? void 0 : feeTotal.totalFee) {
|
package/build/index.esm.js.gz
CHANGED
|
Binary file
|