{{ 'budgets.title' | translate }}

{{ 'budgets.subtitle' | translate }}{{ grandTotal() | number:'1.2-2' }} CHF

@for (group of categoryGroups; track group.key) {

{{ group.label | translate }}

@if (budgetsForCategory(group.key).length > 0) { {{ budgetsForCategory(group.key).length }} }
{{ totalForCategory(group.key) | number:'1.2-2' }} CHF
@if (budgetsForCategory(group.key).length > 0) {
@for (budget of budgetsForCategory(group.key); track budget.id) {
{{ budget.name }} {{ accountName(budget.account) }}
{{ budget.amount | number:'1.2-2' }} CHF
}
} @else {
{{ 'budgets.no_entries' | translate }}
}
}
@if (showNoAccountsModal()) {

{{ 'common.no_accounts_title' | translate }}

{{ 'common.no_accounts_text' | translate }}

{{ 'common.go_to_accounts' | translate }}
} @if (showCreateModal()) {

{{ 'budgets.new_entry' | translate: { category: (labelForCategory(newCategory) | translate) } }}

@if (currentSuggestions.length > 0) {

{{ 'budgets.label_suggestions' | translate }}

@for (s of currentSuggestions; track s) { }
}
} @if (showEditModal()) {

{{ 'budgets.edit_entry' | translate }}

} @if (showDeleteModal()) {

{{ 'common.delete_confirm_title' | translate }}

{{ 'common.delete_confirm_text' | translate }}

}