added some filters to templates

This commit is contained in:
2025-08-03 10:50:59 +03:00
parent e824e87953
commit 13c4c324fc
29 changed files with 180 additions and 89 deletions
+3 -3
View File
@@ -11,7 +11,7 @@ class ContainersListView(ListView):
template_name = 'employee/containers-list.html'
model = Container
context_object_name = 'objects'
paginate_by = 30 # Number of containers per page
paginate_by = 20 # Number of containers per page
# base_template = 'employee-base.html'
# def get_context_data(self, **kwargs):
@@ -31,10 +31,10 @@ class ContainersListView(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 # Number of payments per page
paginate_by = 20 # Number of payments per page
# base_template = 'employee-base.html'
def get_context_data(self, **kwargs):