Invoice UI improvements. Renamed pages, added description, and added total number of events

This commit is contained in:
David Taylor
2016-05-29 21:30:05 +01:00
parent ba020b43f1
commit 83302c4439
6 changed files with 33 additions and 4 deletions

View File

@@ -17,7 +17,7 @@ from RIGS import models
class InvoiceIndex(generic.ListView):
model = models.Invoice
template_name = 'RIGS/invoice_list.html'
template_name = 'RIGS/invoice_list_active.html'
def get_context_data(self, **kwargs):
context = super(InvoiceIndex, self).get_context_data(**kwargs)
@@ -95,6 +95,7 @@ class InvoiceVoid(generic.View):
class InvoiceArchive(generic.ListView):
model = models.Invoice
template_name = 'RIGS/invoice_list_archive.html'
paginate_by = 25