Move billing cost service::class methods into __get(), fixed some incorrect displays of costs

This commit is contained in:
2025-05-21 16:28:37 +10:00
parent 4b429cbf20
commit 14c0109efa
4 changed files with 46 additions and 38 deletions

View File

@@ -48,7 +48,7 @@
<tr>
<th>Amount</th>
@if($o->is_charge_overridden)
<td>@if($o->billing_charge < $o->billing_orig)<del>${{ number_format($o->billing_orig_taxed,2) }}</del> @endif${{ number_format($o->billing_charge_taxed,2) }}</td>
<td>@if($o->billing_charge < $o->billing_charge_orig)<del>${{ number_format($o->billing_charge_orig_taxed,2) }}</del> @endif${{ number_format($o->billing_charge_taxed,2) }}</td>
@else
<td>${{ number_format($o->billing_charge_taxed,2) }}</td>
@endif