Move more product::class methods into __get(), no functional changes
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
<li class="nav-item"><a @class(['nav-link','active'=>! (session()->has('service_update') || session()->has('charge_add'))]) href="#pending_items" data-toggle="tab">Pending Items</a></li>
|
||||
@endif
|
||||
|
||||
@if($o->product->hasUsage())
|
||||
@if($o->product->has_usage)
|
||||
<li class="nav-item"><a @class(['nav-link','active'=>! ($x || (session()->has('service_update') || session()->has('charge_add')))]) href="#traffic" data-toggle="tab">Traffic</a></li>
|
||||
@endif
|
||||
|
||||
@@ -70,7 +70,7 @@
|
||||
</div>
|
||||
@endif
|
||||
|
||||
@if($o->product->hasUsage())
|
||||
@if($o->product->has_usage)
|
||||
<div @class(['tab-pane','fade','show active'=>! ($x || (session()->has('service_update') || session()->has('charge_add')))]) id="traffic">
|
||||
@if($o->type->usage(30)->count())
|
||||
@include('theme.backend.adminlte.service.widget.'.$o->product->category_lc.'.usagegraph',['o'=>$o->type])
|
||||
|
Reference in New Issue
Block a user