pull/1/head
eric 2013-12-15 01:26:42 -05:00
parent 82443593ea
commit b331866c38
1 changed files with 4 additions and 0 deletions

View File

@ -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