Merge pull request #231 from Focuslinkstech/master

Fixed Customer List Bug
This commit is contained in:
iBNu Maksum
2024-08-05 11:12:39 +07:00
committed by GitHub
2 changed files with 28 additions and 5 deletions

View File

@ -99,7 +99,7 @@
</tr>
</thead>
<tbody>
{foreach $d as $ds}
{foreach $customers as $ds}
<tr {if $ds['status'] != 'Active'}class="danger"{/if}>
<td onclick="window.location.href = '{$_url}customers/view/{$ds['id']}'"
style="cursor:pointer;">{$ds['username']}</td>
@ -122,8 +122,12 @@
class="glyphicon glyphicon-map-marker"></i></a>
{/if}
</td>
<td align="center" api-get-text="{$_url}autoload/customer_is_active/{$ds['id']}">
<td align="center">
{if $ds.recharge_status}
{$ds.recharge_status}
{else}
<span class="label label-default">&bull;</span>
{/if}
</td>
<td>{$ds['service_type']}</td>
<td>{Lang::T($ds['status'])}</td>