commit 32ac6432dc1084e0c1aa61d480bb61de39dab58c
parent a3683feb2cd1af66f1146173f748c492edadae4f
Author: Dominik Schmidt <doeme@bastli.ethz.ch>
Date: Tue, 11 Sep 2018 17:36:31 +0200
Set the currency to CHF
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pipeline/10_JSON_to_GROFF.lua b/pipeline/10_JSON_to_GROFF.lua
@@ -18,10 +18,10 @@ function getPositions()
escname=string.gsub(escname,"\n","\n\\&")
local subtot=a["price"]*a["amount"]
total=total+subtot
- str=str..string.format("%d\tT{\n%s\nT}\t%.2f\n", a["amount"], escname, subtot)
+ str=str..string.format("%d\tT{\n%s\nT}\t%.2f CHF\n", a["amount"], escname, subtot)
str2=str2.."llxni\n"
end
- str=str..string.format("\n\tTOTAL\t%.2f\n", total)
+ str=str..string.format("\n\tTOTAL\t%.2f CHF\n", total)
return str2..str..".TE";
end