Fix 500 error Service::isBilled
This commit is contained in:
parent
9515e67493
commit
8b08f79877
@ -34,7 +34,7 @@
|
|||||||
<li class="nav-item"><a class="nav-link {{ (! session()->has('service_update')) ? 'active' : '' }}" href="#pending_items" data-toggle="tab">Pending Items</a></li>
|
<li class="nav-item"><a class="nav-link {{ (! session()->has('service_update')) ? 'active' : '' }}" href="#pending_items" data-toggle="tab">Pending Items</a></li>
|
||||||
@endif
|
@endif
|
||||||
@if ($o->hasUsage())
|
@if ($o->hasUsage())
|
||||||
<li class="nav-item"><a class="nav-link {{ (! $o->isBilled && (! session()->has('service_update'))) ? 'active' : '' }}" href="#traffic" data-toggle="tab">Traffic</a></li>
|
<li class="nav-item"><a class="nav-link {{ (! $o->isBilled() && (! session()->has('service_update'))) ? 'active' : '' }}" href="#traffic" data-toggle="tab">Traffic</a></li>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
{{--
|
{{--
|
||||||
@ -76,7 +76,7 @@
|
|||||||
</div>
|
</div>
|
||||||
@endif
|
@endif
|
||||||
@if ($o->hasUsage())
|
@if ($o->hasUsage())
|
||||||
<div class="tab-pane fade {{ (! $o->isBilled && (! session()->has('service_update'))) ? 'active show' : '' }}" id="traffic" role="tabpanel">
|
<div class="tab-pane fade {{ (! $o->isBilled() && (! session()->has('service_update'))) ? 'active show' : '' }}" id="traffic" role="tabpanel">
|
||||||
@if ($o->type->usage(30)->count())
|
@if ($o->type->usage(30)->count())
|
||||||
@include('u.service.widgets.'.$o->stype.'.usagegraph',['o'=>$o->type])
|
@include('u.service.widgets.'.$o->stype.'.usagegraph',['o'=>$o->type])
|
||||||
@endif
|
@endif
|
||||||
|
Loading…
Reference in New Issue
Block a user