aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiley L. <riley@e926.de>2025-01-06 00:44:29 +0100
committerRiley L. <riley@e926.de>2025-01-06 00:44:29 +0100
commit86fe733e31c99f9440b0438c20e51f38d29be00d (patch)
tree98fa29c046cf8559ca77660c2068b20b6c3eef4e
parent49dbe1baa73ccda401293db4a0eaa0bd6f0e2175 (diff)
downloadabrechenbarkeit-86fe733e31c99f9440b0438c20e51f38d29be00d.tar
abrechenbarkeit-86fe733e31c99f9440b0438c20e51f38d29be00d.tar.bz2
abrechenbarkeit-86fe733e31c99f9440b0438c20e51f38d29be00d.tar.zst
fix revert button
-rwxr-xr-xabrechenbarkeit.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/abrechenbarkeit.lua b/abrechenbarkeit.lua
index 3291224..fb08f88 100755
--- a/abrechenbarkeit.lua
+++ b/abrechenbarkeit.lua
@@ -535,7 +535,7 @@ local function r_log(filter)
<th>{+field.time}</th>
<th>{+field.username}</th>
<th>{+field.amount}</th>
- <th>{+field.barcode}</th>
+ <th>{+field.name}</th>
<th>{+field.count}</th>
<th>{+field.comment}</th>
<th>{+log.actions}</th>
@@ -556,7 +556,7 @@ local function r_log(filter)
<input type="text" name="user_src" value="{user_src}" hidden />
<input type="text" name="user_dst" value="{user_dst}" hidden />
<input type="number" name="amount" value="{revert_amount}" hidden />
- <input type="text" name="pcode" value="{pcode}" hidden />
+ <input type="text" name="name" value="{pcode}" hidden />
<input type="number" name="pcount" value="{revert_pcount}" hidden />
<input type="text" name="comment" value="Revert {comment}" hidden />
<input type="submit" class="amount-ntr button" value="{+log.actions.revert}" />