mirror of
https://codeberg.org/metamuffin/abrechenbarkeit.git
synced 2025-01-30 18:51:41 +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),
|
||||
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),
|
||||
|
|
Loading…
Add table
Reference in a new issue