|
@@ -11,15 +11,9 @@ from sendfile import sendfile
|
|
|
from coin.billing.models import Invoice
|
|
|
from coin.members.models import Member
|
|
|
from coin.html2pdf import render_as_pdf
|
|
|
-from coin.billing.create_subscriptions_invoices import create_all_members_invoices_for_a_period
|
|
|
from coin.billing.utils import get_invoice_from_id_or_number, assert_user_can_view_the_invoice
|
|
|
|
|
|
|
|
|
-def gen_invoices(request):
|
|
|
- create_all_members_invoices_for_a_period()
|
|
|
- return HttpResponse('blop')
|
|
|
-
|
|
|
-
|
|
|
def invoice_pdf(request, id):
|
|
|
"""
|
|
|
Renvoi une facture générée en format pdf
|