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:
parent
615109e247
commit
c0c61045b2
@ -482,7 +482,7 @@ export abstract class InvoiceItem extends Doc {
|
||||
return pricingRuleDoc.discountPercentage;
|
||||
}
|
||||
|
||||
return this.setItemDiscountAmount;
|
||||
return this.itemDiscountPercent;
|
||||
},
|
||||
dependsOn: ['pricingRuleDetail'],
|
||||
},
|
||||
|
@ -796,7 +796,6 @@ export function canApplyPricingRule(
|
||||
) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user