@use(App\Models\Product) @extends('adminlte::layouts.app') @section('htmlheader_title') {{ $o->sid }} @endsection @section('page_title') {{ $o->sid }} @endsection @section('contentheader_title') Service: {{ $o->sid }} {{ $o->product->name }} @endsection @section('contentheader_description') {{ $o->name }} @endsection @section('main-content')
@includeIf('theme.backend.adminlte.service.widget.'.$o->product->category.'.details',['o'=>$o->type]) @include('theme.backend.adminlte.service.widget.information')
@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
@endsection