Optimise Service model

This commit is contained in:
2024-07-07 15:02:02 +10:00
parent b4f3db04fc
commit 0d9dbafcf1
10 changed files with 153 additions and 242 deletions

View File

@@ -20,7 +20,7 @@
</tr>
<tr>
<th>Status</th>
<td>{!! $o->status_html !!}</td>
<td>@include('theme.backend.adminlte.service.widget.status')</td>
</tr>
@if ($o->order_status == 'ORDER-SENT')
<tr>
@@ -47,7 +47,7 @@
</tr>
<tr>
<th>Amount</th>
@if($o->isChargeOverriden())
@if($o->isChargeOverridden())
<td>@if ($o->billing_charge < $o->charge_orig)<del>${{ number_format($o->charge_orig,2) }}</del> @endif${{ number_format($o->billing_charge,2) }}</td>
@else
<td>${{ number_format($o->billing_charge,2) }}</td>