fix test
parent
82443593ea
commit
b331866c38
|
@ -165,6 +165,10 @@ class Transaction(models.Model):
|
||||||
def set_executed(self):
|
def set_executed(self):
|
||||||
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
|
||||||
|
|
Loading…
Reference in New Issue