mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 21:30:31 +00:00
feat: locking transaction page.
This commit is contained in:
@@ -85,3 +85,18 @@ export function useCancelUnlockingPartialTransactions(props) {
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Retrive the transactions locking.
|
||||
*/
|
||||
export function useTransactionsLocking(query, props) {
|
||||
return useRequestQuery(
|
||||
[t.TRANSACTIONS_LOCKING, query],
|
||||
{ method: 'get', url: 'transactions-locking', params: query },
|
||||
{
|
||||
select: (res) => res.data.data,
|
||||
defaultData: [],
|
||||
...props,
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user