fix revert button

This commit is contained in:
Riley L. 2025-01-06 00:44:29 +01:00
parent 49dbe1baa7
commit 86fe733e31

View file

@ -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}" />