transaction template supports setting whether hide amount

This commit is contained in:
MaysWind
2024-07-30 00:08:48 +08:00
parent 4e16f963a8
commit b0b330903c
7 changed files with 14 additions and 7 deletions
+2 -1
View File
@@ -536,7 +536,7 @@ export default {
name
});
},
modifyTransactionTemplate: ({ id, type, categoryId, sourceAccountId, destinationAccountId, sourceAmount, destinationAmount, tagIds, comment }) => {
modifyTransactionTemplate: ({ id, type, categoryId, sourceAccountId, destinationAccountId, sourceAmount, destinationAmount, hideAmount, tagIds, comment }) => {
return axios.post('v1/transaction/templates/modify.json', {
id,
type,
@@ -545,6 +545,7 @@ export default {
destinationAccountId,
sourceAmount,
destinationAmount,
hideAmount,
tagIds,
comment
});