show is customer online in the Active List

This commit is contained in:
Ibnu Maksum 2024-10-07 14:50:28 +07:00
parent 4f3647beae
commit e70a6c4dae
No known key found for this signature in database
GPG Key ID: 7FC82848810579E5

View File

@ -94,15 +94,18 @@
<a href="{$_url}customers/viewu/{$ds['username']}">{$ds['username']}</a> <a href="{$_url}customers/viewu/{$ds['username']}">{$ds['username']}</a>
{/if} {/if}
</td> </td>
<td>
{if $ds['type'] == 'Hotspot'} {if $ds['type'] == 'Hotspot'}
<td><a href="{$_url}services/edit/{$ds['plan_id']}">{$ds['namebp']}</a></td> <a href="{$_url}services/edit/{$ds['plan_id']}">{$ds['namebp']}</a>
{/if} <span api-get-text="{$_url}autoload/customer_is_active/{$ds['username']}/{$ds['plan_id']}"></span>
{if $ds['type'] == 'PPPOE'} {elseif $ds['type'] == 'PPPOE'}
<td><a href="{$_url}services/pppoe-edit/{$ds['plan_id']}">{$ds['namebp']}</a></td> <a href="{$_url}services/pppoe-edit/{$ds['plan_id']}">{$ds['namebp']}</a>
{/if} <span api-get-text="{$_url}autoload/customer_is_active/{$ds['username']}/{$ds['plan_id']}"></span>
{if $ds['type'] == 'VPN'} {elseif $ds['type'] == 'VPN'}
<td><a href="{$_url}services/vpn-edit/{$ds['plan_id']}">{$ds['namebp']}</a></td> <a href="{$_url}services/vpn-edit/{$ds['plan_id']}">{$ds['namebp']}</a>
{/if} {/if}
</td>
<td>{$ds['type']}</td> <td>{$ds['type']}</td>
<td>{Lang::dateAndTimeFormat($ds['recharged_on'],$ds['recharged_time'])}</td> <td>{Lang::dateAndTimeFormat($ds['recharged_on'],$ds['recharged_time'])}</td>
<td>{Lang::dateAndTimeFormat($ds['expiration'],$ds['time'])}</td> <td>{Lang::dateAndTimeFormat($ds['expiration'],$ds['time'])}</td>