added some filters to templates
This commit is contained in:
@@ -11,7 +11,7 @@ class ClientContainersListView(ListView):
|
||||
template_name = 'employee/containers-list.html'
|
||||
model = Container
|
||||
context_object_name = 'objects'
|
||||
paginate_by = 30
|
||||
paginate_by = 20
|
||||
|
||||
def get_queryset(self):
|
||||
queryset = super().get_queryset()
|
||||
@@ -26,10 +26,10 @@ class ClientContainersListView(ListView):
|
||||
|
||||
|
||||
class ReportContainersUnpaidListView(ListView):
|
||||
template_name = 'employee/payment-list.html'
|
||||
template_name = 'employee/unpaid-list.html'
|
||||
model = Container
|
||||
context_object_name = 'objects'
|
||||
paginate_by = 30
|
||||
paginate_by = 20
|
||||
|
||||
def get_context_data(self, **kwargs):
|
||||
context = super().get_context_data(**kwargs)
|
||||
|
||||
Reference in New Issue
Block a user