From b331866c38fca033114f684d2140e27c8cc6b572 Mon Sep 17 00:00:00 2001 From: eric Date: Sun, 15 Dec 2013 01:26:42 -0500 Subject: [PATCH] fix test --- payment/models.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/payment/models.py b/payment/models.py index 15cb20ce..5debf047 100644 --- a/payment/models.py +++ b/payment/models.py @@ -165,6 +165,10 @@ class Transaction(models.Model): def set_executed(self): self.date_executed = now() self.save() + + def set_payment(self): + self.date_payment = now() + self.save() def set_credit_approved(self, amount): self.amount=amount