Working on the debts

Also started adding support for lua scripts, still working on that
part tho;
This commit is contained in:
2025-08-25 18:22:07 +01:00
parent 7c3a203dd2
commit 49a1978736
12 changed files with 127 additions and 5 deletions
+6
View File
@@ -69,6 +69,12 @@ func expensePage(c *gin.Context) {
return
}
err = exp.Serv.LoadExpenseDebts(&expense)
if err != nil {
ServerErrorView(c, "failed to fetch debts")
return
}
categories, err := exp.GetAllCategories()
if err != nil {
ServerErrorView(c, "failed to fetch categories")