@extends('layouts.admin') @section('content')
Registration statistics
Search courses
@if (request()->educationSystem)
@php $totalFees = 0; $examFees = 0; $schoolFees = 0; @endphp @foreach($invoices as $key => $invoice) @php $totalFees += $invoice->total_fee; $examFees += $invoice->exam_fee; $schoolFees += $invoice->school_fee; @endphp @endforeach
# Board Exam Fee School Fee Total Fee
{{ ++$key }} {{ $invoice->bname }} {{ $invoice->exam_fee }} EGP {{ $invoice->school_fee }} EGP {{ $invoice->total_fee }} EGP
Total Exam fees: {{ $examFees }} EGP School fees: {{ $schoolFees }} EGP Total fees: {{ $totalFees }} EGP
@endif
@endsection @section('admin-js') @endsection