Browse Source

Merge branch 'fix_create_subscriptions_invoices' of josue/coin into master

jocelyn 6 years ago
parent
commit
2207f31351
1 changed files with 1 additions and 1 deletions
  1. 1 1
      coin/billing/create_subscriptions_invoices.py

+ 1 - 1
coin/billing/create_subscriptions_invoices.py

@@ -47,7 +47,7 @@ def create_member_invoice_for_a_period(member, date):
                           relativedelta(days=+1))
 
     invoice = Invoice.objects.create(
-        date_due=datetime.date.today(),
+        date_due=datetime.date.today() + datetime.timedelta(days=settings.PAYMENT_DELAY),
         member=member
     )