Initial report template editor (wip)

This commit is contained in:
Alfredo Cardigliano 2023-12-07 16:24:41 +01:00
parent c7da0b85c1
commit f52ba41602
20 changed files with 895 additions and 80 deletions

View file

@ -422,12 +422,7 @@ end
-- ##############################################
function replace(str, o, n)
local i, j = string.find(str, o, 1, true)
if i then
return string.sub(str, 1, i-1) .. n .. string.sub(str, j+1, -1)
else
return str
end
return string.gsub(str, o, n)
end
-- ##############################################