Move some service\type::class methods into __get(), no functional changes
This commit is contained in:
@@ -46,7 +46,7 @@
|
||||
<td>{{ $o->service->product->type->allowance_string() }} Included Calls</td>
|
||||
</tr>
|
||||
@endif
|
||||
@if ($o->inContract())
|
||||
@if ($o->in_contract)
|
||||
<tr>
|
||||
<th>Contract</th>
|
||||
<td>{{ $o->contract_term }} months</td>
|
||||
@@ -58,7 +58,7 @@
|
||||
@endif
|
||||
<tr>
|
||||
<th>Cancel Notice</th>
|
||||
<td>1 month @if($o->inContract())<small>(after {{ $o->service_expire->subMonth()->format('Y-m-d') }})</small>@endif</td>
|
||||
<td>1 month @if($o->in_contract)<small>(after {{ $o->service_expire->subMonth()->format('Y-m-d') }})</small>@endif</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user