Working on the Calculated thing

Did some work towards the lua interface, but its kinda shit tbh
This commit is contained in:
2025-08-26 19:29:33 +01:00
parent b6d0d98d41
commit 7320b61df7
15 changed files with 201 additions and 103 deletions
@@ -1 +1,14 @@
print "hello, world!"
local cjson = require("cjson")
---@diagnostic disable-next-line: undefined-global
local expenses, err = GetAllExpenses()
if not expenses then
print("Error:", err)
end
for i = 1, #expenses do
local eJson = expenses[i].expense
local e = cjson.decode(eJson)
print(e)
end