@if (is_null($qualities) || empty($qualities))
@else
@if (session('message'))
Currently No Information Available!
×
{{ session('message') }}.
@endif
{{-- division Table goes here --}}
{{--
--}}
{{-- @php
$maxCount = max(
$companies->count(),
$departments->count(),
$kras->count(),
$kpis->count(),
$buyers->count(),
);
@endphp
@endforeach
Company | Department | KRA | KPI | Buyers | @foreach ($months as $month)@if ($month->month == 1) January @elseif ($month->month == 2) February @elseif ($month->month == 3) March @elseif ($month->month == 4) April @elseif ($month->month == 5) May @elseif ($month->month == 6) June @elseif ($month->month == 7) July @elseif ($month->month == 8) August @elseif ($month->month == 9) September @elseif ($month->month == 10) October @elseif ($month->month == 11) November @elseif ($month->month == 12) December @endif , {{ $month->year }} | @endforeachAction | |
---|---|---|---|---|---|---|---|
Values | % | @endforeach||||||
|
|
|
|
|
{{ $ie->value }} | {{ $ie->percentage }} |
{{ date('F, Y', strtotime($month->year . '-' . $month->month . '-01')) }}
{{-- Edit and Delete button here --}}
Edit
Company | Department | KRA | KPI | Buyer | {{--Value | --}}Percentage |
---|---|---|---|---|---|---|
{{ $ie->company->name }} @php $distinct_companies->push($ie->company->name); @endphp | @endif @if (!$distinct_departments->contains($ie->department->name)){{ $ie->department->name }} @php $distinct_departments->push($ie->department->name); @endphp | @endif{{ $ie->kra->name }} | {{ $ie->kpi->name }} | {{ $ie->buyer->name }} | {{--{{ $ie->value }} | --}}{{ $ie->percentage }} |