This commit is contained in:
2025-07-15 20:57:15 +03:00
parent f6c78a20a3
commit 0ffd79cee9
51 changed files with 1227 additions and 653 deletions
+7 -1
View File
@@ -6,5 +6,11 @@ from booking.models import Booking
class BookingListView(ListView):
template_name = 'employee/booking-list.html'
model = Booking
context_object_name = 'bookings'
context_object_name = 'objects'
paginate_by = 30 # Number of containers per page
base_template = 'employee-base.html'
def get_context_data(self, **kwargs):
context = super().get_context_data(**kwargs)
context['base_template'] = self.base_template
return context