@extends('layouts.admin') @section('content')
{{-- Un Posted Transactions --}} @if ($uncommited_payroll)
@lang('student.filter by')

Un Committed List

{{-- Export btn --}} @if (count($uncommited_payroll) > 0)
@endif
@php $count=0 @endphp @foreach ($uncommited_payroll as $item) @endforeach
Id total expesnse from to
{{++$count}} {{$item->total_expenses}} EGP {{$item->from}} {{$item->to}} Commit
@csrf
@endif {{-- commited Transactions --}} @if ($commited_payroll)
@lang('student.filter by')

Committed List

@if (count($commited_payroll) > 0)
@endif
@php $count=0; $amount=0; @endphp @foreach ($commited_payroll as $item) @php $amount=$amount+$item->total_expenses; @endphp @endforeach
Id Total expenses from to
{{++$count}} {{$item->total_expenses}} EGP {{$item->from}} {{$item->to}}
Total Committed Expenses: {{$amount}} EGP
@endif
@endsection @section('admin-js') @endsection