feat(budget): rename description to name
All checks were successful
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 1m25s

This commit is contained in:
2026-01-06 19:41:26 +01:00
parent faf28b559a
commit 70d6110bc4
7 changed files with 33 additions and 26 deletions

View File

@@ -50,7 +50,7 @@ func (h HandlerImpl) handlePage() http.HandlerFunc {
budgets, err := h.s.GetAll(r.Context(), user)
if err != nil {
core.HandleError(w, r, err)
h.r.RenderLayout(r, w, core.ErrorComp(err), user)
return
}
@@ -133,9 +133,9 @@ func (h HandlerImpl) handlePost() http.HandlerFunc {
value := int64(math.Round(valueF * DECIMALS_MULTIPLIER))
input := Budget{
Id: id,
Description: r.FormValue("name"),
Value: value,
Id: id,
Name: r.FormValue("name"),
Value: value,
}
if idStr == "new" {