don't show Deactivate if it postpaid

This commit is contained in:
iBNu Maksum 2024-10-25 13:48:45 +07:00
parent 1a0b3ffaf3
commit a04c3dd82b
No known key found for this signature in database
GPG Key ID: 7FC82848810579E5

View File

@ -280,7 +280,7 @@
{/if} {/if}
<tr> <tr>
<td class="small text-primary text-uppercase text-normal"> <td class="small text-primary text-uppercase text-normal">
{if $_bill['status'] == 'on'} {if $_bill['status'] == 'on' && $_bill['prepaid'] != 'yes'}
<a href="{$_url}home&deactivate={$_bill['id']}" <a href="{$_url}home&deactivate={$_bill['id']}"
onclick="return confirm('{Lang::T('Deactivate')}?')" class="btn btn-danger btn-xs"><i onclick="return confirm('{Lang::T('Deactivate')}?')" class="btn btn-danger btn-xs"><i
class="glyphicon glyphicon-trash"></i></a> class="glyphicon glyphicon-trash"></i></a>