Frontend
Salary
Salary Mandate

Salary Mandate

Navigation Path

Salary → Salary Mandate


Salary Mandate Page

URL

/salary/salary-mandate


Page Description

  • Displays salary records that are fully verified and approved
  • Used for salary bank mandate processing
  • Allows exporting mandate data and updating transfer status
  • Only verified records appear on this page

Search & Filter Section

Search Fields

Field NameTypeDescription
MonthDropdownSelect salary month
YearDropdownSelect salary year
ClientDropdownFilter by client
UnitDropdownFilter by unit
Employee CodeText InputSearch by employee code

Actions

ActionDescription
SearchLoads verified mandate records
ResetClears all filters

Salary Mandate List Table

Table Columns

Column NameDescription
S NoSerial number
Month / YearSalary month and year
Process TypeSalary process type
Total RecordsNumber of employees
Total AmountTotal salary amount
TransferredTransfer status
ActionsView, Update, Download

Row Actions

ActionDescription
ViewOpens salary mandate details
Update Transfer StatusOpens transfer update modal
DownloadDownloads mandate Excel

Export Mandate

Export Option

  • Export button allows downloading the salary mandate Excel
  • Export includes:
    • Employee bank details
    • Salary amounts
    • Mandate summary

Update Transfer Status Modal

Triggered From

Salary Mandate List → Update Transfer Status action

Modal Fields

Field NameTypeMandatoryDescription
Transfer DateDate PickerYesDate of salary transfer
Transfer RemarksText AreaNoAdditional remarks

Modal Actions

ActionBehavior
Update Transfer StatusMarks salary as transferred
CancelCloses modal without changes

Page Rules & Restrictions

  • Only verified salary records are shown
  • Unverified or pending salaries are excluded
  • Mandate export is available only for verified data

API Endpoints

The Salary Mandate module interacts with the following API endpoints:

Base URL

export const SALARYMANDATE_URL = '/api/salaryMandate'

Endpoints

EndpointMethodDescriptionParameters/Body
${SALARYMANDATE_URL}POSTCreate a new salary mandateBody: data
${SALARYMANDATE_URL}GETGet all salary mandates with paginationQuery: page, limit
${SALARYMANDATE_URL}/searchPOSTSearch salary mandates with filtersBody: data (search criteria)
${SALARYMANDATE_URL}/:mandateIdGETGet salary mandate by IDPath: mandateId
${SALARYMANDATE_URL}/:mandateIdPATCHUpdate an existing salary mandatePath: mandateId, Body: body
${SALARYMANDATE_URL}/:mandateId/transfer-statusPATCHUpdate transfer status for a mandatePath: mandateId, Body: body
${SALARYMANDATE_URL}/bulk/transfer-statusPATCHBulk update transfer status for multiple mandatesBody: body (array of mandate IDs and status)
${SALARYMANDATE_URL}/delete/:mandateIdPATCHDelete a salary mandate (soft delete)Path: mandateId
${SALARYMANDATE_URL}/statistics/overviewGETGet mandate statistics overviewQuery: query (filters)
${SALARYMANDATE_URL}/exportPOSTExport mandates to ExcelBody: data (export criteria), Returns: Excel file (blob)

RTK Query Hooks

The following hooks are available for frontend integration:

  • useCreateSalaryMandateMutation
  • useGetAllSalaryMandatesQuery
  • useSearchSalaryMandatesMutation
  • useGetSalaryMandateByIdQuery
  • useUpdateSalaryMandateMutation
  • useUpdateTransferStatusMutation
  • useBulkUpdateTransferStatusMutation
  • useDeleteSalaryMandateMutation
  • useGetMandateStatisticsQuery
  • useExportMandatesToExcelMutation

End of Documentation