diff --git a/src/components/budgets/BudgetView2.vue b/src/components/budgets/BudgetView2.vue index 1a3fff7..dd3f8bd 100644 --- a/src/components/budgets/BudgetView2.vue +++ b/src/components/budgets/BudgetView2.vue @@ -25,6 +25,7 @@ import {Chart as ChartJS} from 'chart.js/auto'; import SelectButton from "primevue/selectbutton"; import Divider from "primevue/divider"; import TransactionForm from "@/components/transactions/TransactionForm.vue"; +import Checkbox from "primevue/checkbox"; // Зарегистрируем плагин ChartJS.register(ChartDataLabels); @@ -370,8 +371,8 @@ const saveLimit = async (category) => { const updateLimitOnBackend = async (categoryId, newLimit) => { await fetch(`/api/categories/${categoryId}/limit`, { method: "PUT", - headers: { "Content-Type": "application/json" }, - body: JSON.stringify({ limit: newLimit }), + headers: {"Content-Type": "application/json"}, + body: JSON.stringify({limit: newLimit}), }); }; @@ -873,7 +874,9 @@ onMounted(async () => { + Добавить - +
+ 🗓️ Остаток на внеплановые +
+