fix test
parent
82443593ea
commit
b331866c38
|
@ -166,6 +166,10 @@ class Transaction(models.Model):
|
||||||
self.date_executed = now()
|
self.date_executed = now()
|
||||||
self.save()
|
self.save()
|
||||||
|
|
||||||
|
def set_payment(self):
|
||||||
|
self.date_payment = now()
|
||||||
|
self.save()
|
||||||
|
|
||||||
def set_credit_approved(self, amount):
|
def set_credit_approved(self, amount):
|
||||||
self.amount=amount
|
self.amount=amount
|
||||||
self.host = PAYMENT_HOST_CREDIT
|
self.host = PAYMENT_HOST_CREDIT
|
||||||
|
|
Loading…
Reference in New Issue