mirror of
https://github.com/frappe/books.git
synced 2025-02-13 17:39:09 +00:00
Merge pull request #1114 from AbleKSaju/fix-loyalty-points
fix: resolved points error in loyalty program
This commit is contained in:
commit
1b6fb74717
@ -81,7 +81,7 @@ export class SalesInvoice extends Invoice {
|
||||
|
||||
validations: ValidationMap = {
|
||||
loyaltyPoints: async (value: DocValue) => {
|
||||
if (!this.redeemLoyaltyPoints) {
|
||||
if (!this.redeemLoyaltyPoints || this.isSubmitted) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user