@extends('layouts.admin') @section('content')
Total Employees

Committed List

@if (count($total_employees_commited) > 0)

Committed: {{$total_employees_commited->sum('value')}} EGP

@endif
@php $count=0 @endphp @foreach ($total_employees_commited as $item) @endforeach
Id Employee Name from to Amount
{{++$count}} {{$item->employee->first_name.' '.$item->employee->middle_name.' '.$item->employee->last_name}} {{$item->from}} {{$item->to}} {{$item->net_salary}} EGP

Un-Committed List

@if (count($total_employees_uncommited) > 0)

Un-Committed: {{$total_employees_uncommited->sum('value')}} EGP

@endif
@php $count=0 @endphp @foreach ($total_employees_uncommited as $item) @endforeach
Id Employee Name from to Amount
{{++$count}} {{$item->employee->first_name.' '.$item->employee->middle_name.' '.$item->employee->last_name}} {{$item->from}} {{$item->to}} {{$item->net_salay}} EGP
@endsection