mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-27 02:12:18 +00:00
Fixed waiting invoice counter - closes #239
This commit is contained in:
@@ -112,6 +112,7 @@ class InvoiceWaiting(generic.ListView):
|
||||
for obj in self.get_objects():
|
||||
total += obj.sum_total
|
||||
context['total'] = total
|
||||
context['count'] = len(self.get_objects())
|
||||
return context
|
||||
|
||||
def get_queryset(self):
|
||||
|
||||
Reference in New Issue
Block a user