feat: additional expenses
This commit is contained in:
@@ -149,10 +149,7 @@ class PayrollService(BaseService):
|
||||
if not total_records:
|
||||
return GetPaymentRecordsResponse(
|
||||
payment_records=[],
|
||||
pagination_info=PaginationInfoSchema(
|
||||
total_pages=0,
|
||||
total_items=0
|
||||
)
|
||||
pagination_info=PaginationInfoSchema()
|
||||
)
|
||||
total_items = total_records
|
||||
total_pages = math.ceil(total_records / pagination.items_per_page)
|
||||
|
||||
Reference in New Issue
Block a user