More Service display

This commit is contained in:
Deon George
2019-07-02 15:28:27 +10:00
parent 6103b61265
commit 59a8ef2476
14 changed files with 311 additions and 14 deletions

View File

@@ -0,0 +1,18 @@
<div class="card">
<div class="card-header">
<strong>Next Invoice Details</strong>
</div>
<div class="card-body">
<table class="table table-borderless">
<tr>
<th colspan="3">{{ $o->name }}</th><th class="text-right">{{ number_format($o->next_invoice_items()->sum('amt'),2) }}</th>
</tr>
@foreach ($o->next_invoice_items() as $oo)
<tr>
<td class="pt-0 pb-1">&nbsp;</td><td class="pt-0 pb-1">{{ $oo['desc'] }}</td><td class="text-right pt-0 pb-1">{{ number_format($oo['amt'],2) }}</td>
</tr>
@endforeach
</table>
</div>
</div>