Prevent double submit for recharge and renew

This commit is contained in:
Ibnu Maksum
2024-04-04 15:27:13 +07:00
parent eba6048abf
commit 71437b9a0e
8 changed files with 69 additions and 22 deletions

View File

@ -183,7 +183,7 @@
{/if}
</td>
<td class="small row">
<a class="btn btn-primary pull-right btn-sm" href="{$_url}home&recharge={$_bill['id']}"
<a class="btn btn-primary pull-right btn-sm" href="{$_url}home&recharge={$_bill['id']}&stoken={App::getToken()}"
onclick="return confirm('{Lang::T('Recharge')}?')">{Lang::T('Recharge')}</a>
</td>
</tr>