additional cost can be minus

This commit is contained in:
Ibnu Maksum
2024-09-23 17:11:32 +07:00
parent aa0432df38
commit 229eae5c8f
7 changed files with 10 additions and 10 deletions

View File

@ -66,7 +66,7 @@
</ul>
<center><b>{Lang::T('Total')}</b></center>
<ul class="list-group list-group-unbordered">
{if $using neq 'zero' and $add_cost>0}
{if $using neq 'zero' and $add_cost != 0}
{foreach $bills as $k => $v}
<li class="list-group-item">
<b>{$k}</b> <span class="pull-right">{Lang::moneyFormat($v)}</span>

View File

@ -75,7 +75,7 @@
<td>{Lang::T('Plan Name')}</td>
<td>{$plan['name_plan']}</td>
</tr>
{if $add_cost>0}
{if $add_cost!=0}
{foreach $bills as $k => $v}
<tr>
<td>{$k}</td>
@ -88,7 +88,7 @@
</tr>
{/if}
<tr>
<td>{Lang::T('Plan Price')}{if $add_cost>0}<small> +
<td>{Lang::T('Plan Price')}{if $add_cost!=0}<small> +
{Lang::T('Additional Cost')}{/if}</small></td>
<td
style="font-size: large; font-weight:bolder; font-family: 'Courier New', Courier, monospace; ">

View File

@ -66,7 +66,7 @@
<li class="list-group-item">
<b>{Lang::T('Tax')}</b> <span class="pull-right">{Lang::moneyFormat($tax)}</span>
</li>
{if $add_cost>0}
{if $add_cost!=0}
{foreach $bills as $k => $v}
<li class="list-group-item">
<b>{$k}</b> <span class="pull-right">{Lang::moneyFormat($v)}</span>
@ -89,7 +89,7 @@
</li>
{/if}
{else}
{if $add_cost>0}
{if $add_cost!=0}
{foreach $bills as $k => $v}
<li class="list-group-item">
<b>{$k}</b> <span class="pull-right">{Lang::moneyFormat($v)}</span>

View File

@ -12,7 +12,7 @@
<td>{Lang::T('Type')}</td>
<td>{$plan['type']}</td>
</tr>
{if $add_cost>0}
{if $add_cost!=0}
{foreach $bills as $k => $v}
<tr>
<td>{$k}</td>
@ -31,7 +31,7 @@
</tr>
{/if}
<tr>
<td>{Lang::T('Price')}{if $add_cost>0}<small> + {Lang::T('Additional Cost')}{/if}{if
<td>{Lang::T('Price')}{if $add_cost!=0}<small> + {Lang::T('Additional Cost')}{/if}{if
$tax>0}<small> + {Lang::T('Tax')}{/if}</td>
<td
style="font-size: large; font-weight:bolder; font-family: 'Courier New', Courier, monospace; ">