Move category/category_name product::class methods into __get(), no functional changes
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
<div class="row">
|
||||
<!-- Service Details -->
|
||||
<div class="col-12 col-md-5">
|
||||
@includeIf('theme.backend.adminlte.service.widget.'.$o->product->category.'.details',['o'=>$o->type])
|
||||
@includeIf('theme.backend.adminlte.service.widget.'.$o->product->category_lc.'.details',['o'=>$o->type])
|
||||
@include('theme.backend.adminlte.service.widget.information')
|
||||
</div>
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
@if($o->product->hasUsage())
|
||||
<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.'.usagegraph',['o'=>$o->type])
|
||||
@include('theme.backend.adminlte.service.widget.'.$o->product->category_lc.'.usagegraph',['o'=>$o->type])
|
||||
@endif
|
||||
</div>
|
||||
@endif
|
||||
|
Reference in New Issue
Block a user