mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-18 13:50:31 +00:00
fix: auto-increment journal number.
WIP: customer form.
This commit is contained in:
@@ -3,7 +3,13 @@ import t from 'store/types';
|
||||
|
||||
export const submitOptions = ({ form }) => {
|
||||
return (dispatch) => {
|
||||
return ApiService.post('settings', form);
|
||||
return ApiService.post('settings', form).then((response) => {
|
||||
dispatch({
|
||||
type: t.SETTING_SET,
|
||||
options: form.options,
|
||||
});
|
||||
return response;
|
||||
});
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user