States and Selectors
|-/redux
|
|-/payroll
|- index.ts
|- payrollSlice.ts
|- payrollThunks.tsHow to get the user accounts?
Invoke fetchUserAccounts from LinkerStudio/modules/payroll/common/redux/payroll using the hook useAppDispatch from LinkerStudio/core/hooks
import {useAppDispatch} from 'LinkerStudio/core/hooks';
const dispatch = useAppDispatch();
dispatch(fetchUserAccounts(params));How to get movements?
Invoke fetchJobs and fetchMoreJobs from LinkerStudio/modules/payroll/common/redux/payroll using the hook useAppDispatch from LinkerStudio/core/hooks
Where params are:
How to get receipts?
Invoke fetchPaystubs and fetchMorePaystubs from LinkerStudio/modules/payroll/common/redux/payroll using the hook useAppDispatch from LinkerStudio/core/hooks
Where params are:
Last updated
Was this helpful?