[UPDT] LEAVE: Pagination for leave request to approve card in main dashboard
This commit is contained in:
@@ -5113,7 +5113,7 @@ def leave_allocation_approve(request):
|
||||
allocation_reqests = filtersubordinates(
|
||||
request, allocation_reqests, "leave.view_leaveallocationrequest"
|
||||
)
|
||||
# allocation_reqests = paginator_qry(allocation_reqests, page_number)
|
||||
allocation_reqests = paginator_qry(allocation_reqests, page_number)
|
||||
allocation_reqests_ids = json.dumps(
|
||||
[instance.id for instance in allocation_reqests]
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user