13 lines
400 B
PHP
13 lines
400 B
PHP
<table class="table">
|
|
<tr>
|
|
<th colspan="3">{{ $o->name }}</th><th class="text-right">${{ number_format(($x=$o->next_invoice_items(TRUE))->sum('total'),2) }}</th>
|
|
</tr>
|
|
|
|
@foreach ($x as $io)
|
|
<tr>
|
|
<td class="pt-0 pb-1"> </td>
|
|
<td class="pt-0 pb-1">{{ $io->item_type_name }}</td>
|
|
<td class="text-right pt-0 pb-1">${{ number_format($io->total,2) }}</td>
|
|
</tr>
|
|
@endforeach
|
|
</table> |