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),