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

IBM

IBM

@foreach ($scope->get()->sortBy(function ($item,$key) { return sprintf('%s.%s.%s',$item->segment->unit->name,$item->segment->name,$item->name); }) as $o) @php $data->push($o->summary($ido)->pop()); $filter = $o->summary($ido); if (! $e=$filter->sum('entitled')) continue; @endphp @endforeach
Categories Entitled Deployed Behind Assigned Unassigned
Unit Segment Category Actual Ahead Over
{{ $o->segment->unit->name }} {{ $o->segment->name }} {{ $o->name }} {{ number_format($e,2) }} {{ number_format($filter->sum('actual')/$e*100,1) }}% {{ number_format($filter->sum('ahead')/$e*100,1) }}% {{ number_format($filter->sum('over')/$e*100,1) }}% {{ number_format($filter->sum('behind')/$e*100,1) }}% {{ number_format($filter->sum('assigned')/$e*100,1) }}% {{ number_format($filter->sum('unassigned')/$e*100,1) }}%
@endsection @section('page-scripts') @append