* Oupsie
This commit is contained in:
parent
f14f9d1179
commit
cc98d1382d
|
|
@ -286,7 +286,8 @@ class BonusProgram:
|
||||||
if order.status != settings.BONUS_ELIGIBILITY_STATUS:
|
if order.status != settings.BONUS_ELIGIBILITY_STATUS:
|
||||||
return
|
return
|
||||||
|
|
||||||
self.update_balance(amount, bonus_type, order=order)
|
# Add bonuses
|
||||||
|
order.customer.update_balance(amount, bonus_type, order=order)
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def add_referral_bonus(order: 'Checklist', for_inviter: bool):
|
def add_referral_bonus(order: 'Checklist', for_inviter: bool):
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user