copy/paste error

This commit is contained in:
Thomas Steen Rasmussen 2016-05-31 08:12:25 +02:00
parent 2a267c0f9f
commit 50e7c9c0f3

View file

@ -273,7 +273,7 @@ class Invoice(CreatedUpdatedModel):
return 'bornhack_invoice_%s.pdf' % self.pk
def regretdate(self):
return inv.created+timedelta(days=14)
return self.created+timedelta(days=14)
class CoinifyAPIInvoice(CreatedUpdatedModel):