Web-est bug fixes.
This commit is contained in:
@@ -3,6 +3,7 @@ const queries = require("../graphql-client/queries");
|
||||
const adminClient = require("../graphql-client/graphql-client").client;
|
||||
const _ = require("lodash");
|
||||
const logger = require("../utils/logger");
|
||||
const InstanceMgr = require("../utils/instanceMgr").default;
|
||||
|
||||
//****************************************************** */
|
||||
//****************************************************** */
|
||||
@@ -992,7 +993,7 @@ function CalculateTaxesTotals(job, otherTotals) {
|
||||
);
|
||||
|
||||
let taxableAmountInThisThreshold;
|
||||
if (thresholdAmount === 9999.99) {
|
||||
if (thresholdAmount === 9999.99 || InstanceMgr({debug:true,imex:false, rome: false, promanager:thresholdAmount === 0 && parseInt(tyCounter) === 1 }) ) { //
|
||||
// THis is the last threshold. Tax the entire remaining amount.
|
||||
taxableAmountInThisThreshold = remainingTaxableAmounts[taxTierKey];
|
||||
remainingTaxableAmounts[taxTierKey] = Dinero();
|
||||
|
||||
Reference in New Issue
Block a user