osb/resources/theme/backend/adminlte/common/service/widget/invoice.blade.php

19 lines
577 B
PHP
Raw Normal View History

2019-07-02 05:28:27 +00:00
<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('total'),2) }}</th>
2019-07-02 05:28:27 +00:00
</tr>
@foreach ($o->next_invoice_items() as $io)
2019-07-02 05:28:27 +00:00
<tr>
<td class="pt-0 pb-1">&nbsp;</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>
2019-07-02 05:28:27 +00:00
</tr>
@endforeach
</table>
</div>
</div>