Move billing charge service::class methods into __get(), no functional changes
This commit is contained in:
@@ -43,14 +43,14 @@
|
||||
@if(($o->active || $o->isPending()) && (! $o->external_billing))
|
||||
<tr>
|
||||
<th>Billed</th>
|
||||
<td>{{ $o->billing_interval_string }}</td>
|
||||
<td>{{ $o->billing_interval_name }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Amount</th>
|
||||
@if($o->is_charge_overridden)
|
||||
<td>@if($o->billing_charge < $o->charge_orig)<del>${{ number_format($o->charge_orig,2) }}</del> @endif${{ number_format($o->billing_charge,2) }}</td>
|
||||
<td>@if($o->billing_charge < $o->billing_orig)<del>${{ number_format($o->billing_orig_taxed,2) }}</del> @endif${{ number_format($o->billing_charge_taxed,2) }}</td>
|
||||
@else
|
||||
<td>${{ number_format($o->billing_charge,2) }}</td>
|
||||
<td>${{ number_format($o->billing_charge_taxed,2) }}</td>
|
||||
@endif
|
||||
</tr>
|
||||
@if($o->isActive() && $o->invoiced_to)
|
||||
|
Reference in New Issue
Block a user