mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-20 23:00:34 +00:00
23 lines
472 B
TypeScript
23 lines
472 B
TypeScript
// @ts-nocheck
|
|
import t from '@/store/types';
|
|
|
|
export const setVendorCreditTableState = (queries) => {
|
|
return {
|
|
type: t.VENDOR_CREDITS_TABLE_STATE_SET,
|
|
payload: { queries },
|
|
};
|
|
};
|
|
|
|
export const resetVendorCreditTableState = () => {
|
|
return {
|
|
type: t.VENDOR_CREDITS_NOTES_TABLE_STATE_RESET,
|
|
};
|
|
};
|
|
|
|
export const setVendorCreditsSelectedRows = (selectedRows) => {
|
|
return {
|
|
type: 'VENDOR_CREDITS/SET_SELECTED_ROWS',
|
|
payload: selectedRows,
|
|
};
|
|
};
|