Product.
@if (! $o->suspend_billing AND ! $o->external_billing)
@include('theme.backend.adminlte.service.widget.invoice')
@endif
@if ($o->hasUsage())
@if ($o->type->usage(30)->count())
@include('theme.backend.adminlte.service.widget.'.$o->product->category.'.usagegraph',['o'=>$o->type])
@endif
@endif
Invoices.
Email.
@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 \App\Models\Product()])
@endif
@include('theme.backend.adminlte.service.widget.update')
@endcan