mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-19 22:30:31 +00:00
feat: adjustments.
This commit is contained in:
@@ -14,9 +14,6 @@ const initialState = {
|
||||
page_size: 12,
|
||||
page: 1,
|
||||
},
|
||||
paginationMeta: {
|
||||
total: 0,
|
||||
},
|
||||
};
|
||||
|
||||
export default createReducer(initialState, {
|
||||
@@ -37,7 +34,6 @@ export default createReducer(initialState, {
|
||||
|
||||
const viewId = customViewId || -1;
|
||||
const view = state.views[viewId] || {};
|
||||
|
||||
state.views[viewId] = {
|
||||
...view,
|
||||
pages: {
|
||||
@@ -49,7 +45,6 @@ export default createReducer(initialState, {
|
||||
};
|
||||
},
|
||||
|
||||
//useless
|
||||
[t.INVENTORY_ADJUSTMENT_ITEMS_SET]: (state, action) => {
|
||||
const { inventory_adjustment } = action.payload;
|
||||
const _inventory_adjustment = {};
|
||||
|
||||
Reference in New Issue
Block a user