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 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)