Add Reset Hold and Hold For Next Month api (#3140)

This commit is contained in:
rodriguestiago0
2024-08-04 19:56:11 +01:00
committed by GitHub
parent 8be867f884
commit 2b1ba88983
4 changed files with 42 additions and 0 deletions

View File

@@ -208,3 +208,11 @@ export function updateRule(rule) {
export function deleteRule(id) {
return send('api/rule-delete', { id });
}
export function holdBudgetForNextMonth(month, amount) {
return send('api/budget-hold-for-next-month', { month, amount });
}
export function resetBudgetHold(month) {
return send('api/budget-reset-hold', { month });
}