Move billing charge service::class methods into __get(), no functional changes
This commit is contained in:
@@ -48,7 +48,7 @@
|
||||
<td class="text-right">${{ number_format($a=$oo->sum('base'),2) }}</td>
|
||||
<td class="text-right">${{ number_format($oo->sum('excess'),2) }}</td>
|
||||
<td class="text-right">${{ number_format($x=$oo->sum('cost'),2) }}</td>
|
||||
<td class="text-right">${{ number_format($b=$oo->first()->service->billing_charge_normalised,2) }}</td>
|
||||
<td class="text-right">${{ number_format($b=$oo->first()->service->billing_charge_normalised_taxed,2) }}</td>
|
||||
<td class="text-right {{ $b-$a < 0 ? 'text-danger' : '' }}">${{ number_format($b-$a,2) }}</td>
|
||||
</tr>
|
||||
@php($cost += $x)
|
||||
@@ -66,7 +66,7 @@
|
||||
<td class="text-right">${{ number_format($a=$oo->sum('base'),2) }}</td>
|
||||
<td class="text-right">${{ number_format($oo->sum('excess'),2) }}</td>
|
||||
<td class="text-right">${{ number_format($x=$oo->sum('cost'),2) }}</td>
|
||||
<td class="text-right">${{ number_format($b=$oo->first()->service->billing_charge_normalised,2) }}</td>
|
||||
<td class="text-right">${{ number_format($b=$oo->first()->service->billing_charge_normalised_taxed,2) }}</td>
|
||||
<td class="text-right {{ $b-$a < 0 ? 'text-danger' : '' }}">${{ number_format($b-$a,2) }}</td>
|
||||
</tr>
|
||||
@php($cost += $x)
|
||||
|
Reference in New Issue
Block a user