@extends('adminlte::layouts.app') @section('htmlheader_title') {{ trans('adminlte_lang::message.home') }} @endsection @section('contentheader_title') Expiring Contracts @endsection @section('contentheader_description') {{ $ido->import_date->format('Y-m-d') }} @endsection @section('main-content') @php $data = collect(); @endphp

{{ $name }}

@foreach ($scope->get() as $o) @php $filter = $o->category_summary($ido)->filter(function($item,$value) use ($co) { return $item['category_id'] == $co->id; }); if (! $e=$filter->sum('entitled')) continue; @endphp @endforeach
{{ $name }} Entitled Deployed Behind Assign UnAssign
Ending Unit Segment Category Actual Ahead Over
{{ $o->contract_end->format('Y-m-d') }} {{ $o->account->imt->iot->name }} {{ $o->account->imt->name }} {{ $o->account->name }} {{ number_format($e,2) }} {{ number_format($filter->sum('deployed'),1) }} {{ number_format($filter->sum('ahead'),1) }} {{ number_format($filter->sum('over'),1) }} {{ number_format($filter->sum('behind'),1) }} {{ number_format($filter->sum('assigned'),1) }} {{ number_format($filter->sum('unassigned'),1) }}
@endsection @section('page-scripts') @append