Add Yellow line for plan not allowed to purchase

This commit is contained in:
Ibnu Maksum
2024-01-16 09:00:56 +07:00
parent 5867a0c9ca
commit 470c219e61
7 changed files with 35 additions and 3 deletions

View File

@ -49,7 +49,8 @@
</thead>
<tbody>
{foreach $d as $ds}
<tr {if $ds['enabled'] != 1}class="danger" title="disabled" {/if}>
<tr {if $ds['enabled'] != 1}class="danger" title="disabled"
{elseif $ds['allow_purchase'] != 'yes'}class="warning" title="Customer can't purchase" {/if}>
<td>{$ds['name_plan']}</td>
<td>{$ds['typebp']}</td>
<td>{$ds['name_bw']}</td>