mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-18 22:00:31 +00:00
feat: activate & inactive item.
This commit is contained in:
@@ -105,3 +105,11 @@ export const deleteBulkItems = ({ ids }) => {
|
||||
});
|
||||
});
|
||||
};
|
||||
|
||||
export const activateItem = ({ id }) => {
|
||||
return (dispatch) => ApiService.post(`items/${id}/activate`);
|
||||
};
|
||||
|
||||
export const inactiveItem = ({ id }) => {
|
||||
return (dispatch) => ApiService.post(`items/${id}/inactivate`);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user