2
0
mirror of https://github.com/frappe/books.git synced 2024-11-08 14:50:56 +00:00

feat: pricing rule

This commit is contained in:
akshayitzme 2024-03-06 15:54:25 +05:30
parent 615109e247
commit c0c61045b2
2 changed files with 1 additions and 2 deletions

View File

@ -482,7 +482,7 @@ export abstract class InvoiceItem extends Doc {
return pricingRuleDoc.discountPercentage;
}
return this.setItemDiscountAmount;
return this.itemDiscountPercent;
},
dependsOn: ['pricingRuleDetail'],
},

View File

@ -796,7 +796,6 @@ export function canApplyPricingRule(
) {
return false;
}
return true;
}