add red line for Customer status != Active

This commit is contained in:
Ibnu Maksum 2024-05-18 23:16:03 +07:00
parent 41161ebc7c
commit 8284b360a0
No known key found for this signature in database
GPG Key ID: 7FC82848810579E5

View File

@ -86,7 +86,7 @@
</thead> </thead>
<tbody> <tbody>
{foreach $d as $ds} {foreach $d as $ds}
<tr> <tr {if $ds['status'] != 'Active'}class="danger"{/if}>
<td onclick="window.location.href = '{$_url}customers/view/{$ds['id']}'" <td onclick="window.location.href = '{$_url}customers/view/{$ds['id']}'"
style="cursor:pointer;">{$ds['username']}</td> style="cursor:pointer;">{$ds['username']}</td>
<td>{$ds['account_type']}</td> <td>{$ds['account_type']}</td>