mirror of
https://codeberg.org/metamuffin/abrechenbarkeit.git
synced 2025-01-31 02:51:42 +00:00
revert something something
This commit is contained in:
parent
d04dbb8a4f
commit
5d1c7a759c
1 changed files with 1 additions and 6 deletions
|
@ -517,12 +517,7 @@ local function r_log(filter)
|
||||||
user_dst_url = urlencode(user_dst),
|
user_dst_url = urlencode(user_dst),
|
||||||
amount = format_amount(amount, "td"),
|
amount = format_amount(amount, "td"),
|
||||||
pcode = escape(pcode),
|
pcode = escape(pcode),
|
||||||
pcount = (pcount
|
pcount = pcount and tostring(math.abs(pcount)) or "",
|
||||||
and (pcount < 0
|
|
||||||
and "{+log.count.purchase}"
|
|
||||||
or "{+log.count.stock}"
|
|
||||||
) or ""),
|
|
||||||
n = (pcount and tostring(math.abs(pcount)) or ""),
|
|
||||||
comment = escape(comment),
|
comment = escape(comment),
|
||||||
revert_amount = -amount,
|
revert_amount = -amount,
|
||||||
revert_pcount = -(pcount or 0),
|
revert_pcount = -(pcount or 0),
|
||||||
|
|
Loading…
Add table
Reference in a new issue