@if (isset($ajax) && $ajax) @php $initials_na = 0; $initials = 0; $in_progress = 0; $completed = 0; $time_extended = 0; $total = 0; @endphp @foreach($data as $dt) @php $initials_na = $initials_na + $dt->initials_na; $initials = $initials + $dt->initials; $in_progress = $in_progress + $dt->in_progress; $completed = $completed + $dt->completed; $time_extended = $time_extended + $dt->time_extended; $total = $total + $dt->total; @endphp {{$loop->iteration}} {{$dt->department_name}} {{$dt->initials_na}} {{$dt->initials}} {{$dt->in_progress}} {{-- {{$dt->out_of_schedule}}--}} {{$dt->completed }} {{$dt->time_extended}} {{$dt->total}} {{-- {{$dt->dev_partner_exist}}--}} {{-- {{$dt->dev_partner_not_exist}}--}} @endforeach Total {{$initials_na}} {{$initials}} {{$in_progress}} {{$completed}} {{$time_extended}} {{$total}} @else

Contract Management

{{-- --}} {{-- --}} {{-- --}}
SL. Department Name Initial(N/A) Initial In ProgressOut Of ScheduleCompleted Extended Time TotalDev Partner ExistDev Partner Not Exist
@endif