@if($x=! ($o->suspend_billing || $o->external_billing))
! (session()->has('service_update') || session()->has('charge_add'))]) id="pending_items">
@include('theme.backend.adminlte.service.widget.invoice')
@endif
@if($o->product->hasUsage())
! ($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])
@endif
@endif
@can('wholesaler')
@include('theme.backend.adminlte.service.widget.billinghistory',['o'=>$o])
@if(($x=$o->changes()->where('service__change.active',TRUE)->where('complete',FALSE)->get()->pop()))
@include('theme.backend.adminlte.service.widget.internal',['o'=>$o,'p'=>$x])
@else
@include('theme.backend.adminlte.service.widget.internal',['o'=>$o,'p'=>new Product()])
@endif
session()->pull('service_update'),'p-2']) id="update">
@include('theme.backend.adminlte.service.widget.update')
@if($o->active || $o->isPending())
session()->pull('charge_add')]) id="charge">
@include('theme.backend.adminlte.service.widget.charge')
@endif
@endcan