missing import
This commit is contained in:
parent
50e7c9c0f3
commit
bf9ad04fe6
|
@ -10,6 +10,7 @@ from utils.models import UUIDModel, CreatedUpdatedModel
|
||||||
from .managers import ProductQuerySet
|
from .managers import ProductQuerySet
|
||||||
import hashlib, io, base64, qrcode
|
import hashlib, io, base64, qrcode
|
||||||
from decimal import Decimal
|
from decimal import Decimal
|
||||||
|
from timezone import timedelta
|
||||||
|
|
||||||
|
|
||||||
class Order(CreatedUpdatedModel):
|
class Order(CreatedUpdatedModel):
|
||||||
|
@ -273,7 +274,7 @@ class Invoice(CreatedUpdatedModel):
|
||||||
return 'bornhack_invoice_%s.pdf' % self.pk
|
return 'bornhack_invoice_%s.pdf' % self.pk
|
||||||
|
|
||||||
def regretdate(self):
|
def regretdate(self):
|
||||||
return self.created+timedelta(days=14)
|
return self.created+timedelta(days=15)
|
||||||
|
|
||||||
|
|
||||||
class CoinifyAPIInvoice(CreatedUpdatedModel):
|
class CoinifyAPIInvoice(CreatedUpdatedModel):
|
||||||
|
|
Loading…
Reference in a new issue