2
0
mirror of https://github.com/frappe/books.git synced 2025-01-03 07:12:21 +00:00

fix: resolved warnings

This commit is contained in:
AbleKSaju 2024-10-22 17:06:55 +05:30
parent 6f6e0bc197
commit 91b0d464c0

View File

@ -818,8 +818,6 @@ export async function getPricingRulesOfCoupons(
})) as CouponCode[];
}
console.log('pricingRuleDocNames', pricingRuleDocNames);
const filteredPricingRuleNames = appliedCoupons.filter(
(val) => val.pricingRule === pricingRuleDocNames![0]
);
@ -842,7 +840,6 @@ export async function getPricingRulesOfCoupons(
}
)) as PricingRule[];
console.log('pricingRuleDocsForItem', pricingRuleDocsForItem);
return pricingRuleDocsForItem;
}