mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-16 07:57:33 +08:00
add default categories backend
This commit is contained in:
@@ -228,6 +228,11 @@ export default {
|
||||
comment
|
||||
});
|
||||
},
|
||||
addTransactionCategoryBatch: ({ categories }) => {
|
||||
return axios.post('v1/transaction/categories/add_batch.json', {
|
||||
categories
|
||||
});
|
||||
},
|
||||
modifyTransactionCategory: ({ id, name, icon, color, comment, hidden }) => {
|
||||
return axios.post('v1/transaction/categories/modify.json', {
|
||||
id,
|
||||
|
||||
Reference in New Issue
Block a user