@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')
@can('progress',$o) @endcan
@if ($x=! ($o->suspend_billing || $o->external_billing))
! session()->has('service_update')]) id="pending_items"> @include('theme.backend.adminlte.service.widget.invoice')
@endif @if ($o->product->hasUsage())
! ($x || session()->has('service_update'))]) 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()->has('service_update')]) id="update"> @include('theme.backend.adminlte.service.widget.update')
@endcan
@endsection