Minor bug fixes rendering services and invoicing

This commit is contained in:
Deon George
2020-02-13 22:18:20 +11:00
parent c5f171da95
commit f8d998d935
4 changed files with 11 additions and 11 deletions

View File

@@ -1,9 +1,9 @@
<table class="table">
<tr>
<th colspan="3">{{ $o->name }}</th><th class="text-right">${{ number_format($o->next_invoice_items()->sum('total'),2) }}</th>
<th colspan="3">{{ $o->name }}</th><th class="text-right">${{ number_format(($x=$o->next_invoice_items(TRUE))->sum('total'),2) }}</th>
</tr>
@foreach ($o->next_invoice_items() as $io)
@foreach ($x as $io)
<tr>
<td class="pt-0 pb-1">&nbsp;</td>
<td class="pt-0 pb-1">{{ $io->item_type_name }}</td>