Move billing cost service::class methods into __get(), fixed some incorrect displays of costs
This commit is contained in:
@@ -41,7 +41,7 @@
|
||||
<td>{{ $o->product->name }}</td>
|
||||
<td>{{ $o->supplierid }}</td>
|
||||
<td class="text-right">{{ number_format($o->billing_charge_normalised_taxed,2) }}</td>
|
||||
<td class="text-right">{{ number_format($o->billing_cost_normalised,2) }}</td>
|
||||
<td class="text-right">{{ number_format($o->billing_cost_normalised_taxed,2) }}</td>
|
||||
<td class="text-right">{{ $o->product->hasUsage() ? number_format($o->type->usage_summary(0)->sum()/1000,1) : '-' }}</td>
|
||||
<td>{{ $o->product->supplier->name }}</td>
|
||||
</tr>
|
||||
|
Reference in New Issue
Block a user