From 5d1c7a759cdc2fb62491f4ba2d924212223fdc49 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Sat, 9 Nov 2024 00:50:54 +0100 Subject: [PATCH] revert something something --- abrechenbarkeit.lua | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/abrechenbarkeit.lua b/abrechenbarkeit.lua index fe3c781..be68c99 100755 --- a/abrechenbarkeit.lua +++ b/abrechenbarkeit.lua @@ -517,12 +517,7 @@ local function r_log(filter) user_dst_url = urlencode(user_dst), amount = format_amount(amount, "td"), pcode = escape(pcode), - pcount = (pcount - and (pcount < 0 - and "{+log.count.purchase}" - or "{+log.count.stock}" - ) or ""), - n = (pcount and tostring(math.abs(pcount)) or ""), + pcount = pcount and tostring(math.abs(pcount)) or "", comment = escape(comment), revert_amount = -amount, revert_pcount = -(pcount or 0),