mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-15 00:06:22 +00:00
docs(loyalty): fix wrong comment
This commit is contained in:
@@ -47,7 +47,7 @@ def get_loyalty_program_details_with_points(customer, loyalty_program=None, expi
|
||||
key=lambda rule: rule.min_spent, reverse=False,
|
||||
)
|
||||
|
||||
# looping and apply tier from highest min_spent
|
||||
# looping and apply tier from lowest min_spent
|
||||
for i, d in enumerate(tier_spent_level):
|
||||
# if cumulative spend more than min_spent then continue to next tier
|
||||
if (lp_details.total_spent + current_transaction_amount) >= d.min_spent:
|
||||
|
||||
Reference in New Issue
Block a user