@extends('layouts.teacher') @section('content')
Total Payroll
@lang('student.filter by')

Payroll List

@if (count($commited_payroll) > 0)
@endif
@php $count=0; $amount=0; $amount_aed=0; @endphp @foreach ($commited_payroll as $transaction) @php $amount=$amount + $transaction->amount; $amount_aed=$amount_aed + $transaction->amount_aed; @endphp @endforeach
Id Course session amount egp amount aed from to
{{++$count}} {{$transaction->has_label ? ' ( '.$transaction->label.' ) ':''}} {{$transaction->cname . ' (' .$transaction->lshort_name .' )'}} {{$transaction->acyname}} {{$transaction->amount}} {{$transaction->amount_aed}} {{$transaction->from}} {{$transaction->to}}
Total Amount EGP: {{$amount}} EGP
Total Amount AED: {{$amount_aed}} AED
@endsection