@extends('layouts.app') @section('styles') @endsection @section('content')
@yield('card-content')
{{ __('home.dashboard') }}
@if (session('status')) @endif
@if ( auth()->user()->hasRole('registrar') || auth()->user()->hasRole('admin'))
{{-- Students --}}

{{ __('home.students-number') }}

{{ $studentsNumber }}

{{ __('home.show-details') }}

{{--

▲ 57.1%

--}}
{{-- Registed Students --}}

{{ __('home.registered-students') }}

{{ $registerdStudents }}

{{ __('home.show-details') }}

{{--

▼ 42.8%

--}}
{{-- Partially Registered Students --}}

{{ __('home.partially-registered-students') }}

{{ $partiallyRegisteredStudents }}

{{ __('home.show-details') }}

{{--

▲ 8.2%

--}}
{{-- Unregisted Students --}}

{{ __('home.unregistered-students') }}

{{ $unregisterdStudents }}

{{ __('home.show-details') }}

{{--

▲ 8.2%

--}}
@endif @if (auth()->user()->hasRole(['financial', 'admin']) && auth()->user()->payment_identifier == null)
{{-- Total Income --}}

{{ __('home.total-income') }}

{{ number_format( $totalIncome ) }}

{{ __('home.show-details') }}

{{--

▲ 57.1%

--}}
{{-- Total Payments --}}

{{ __('home.total-paid') }}

{{ number_format( $totalPaid ) }}

{{ __('home.show-details') }}

{{--

▼ 42.8%

--}}
{{-- Total Fees --}}

{{ __('home.total-amount') }}

{{ number_format( $totalAmount ) }}

{{ __('home.show-details') }}

{{--

▲ 8.2%

--}}
{{-- Total Unpaid payments --}}

{{ __('home.total-unpaid') }}

{{ number_format( $totalUnpaid ) }}

{{ __('home.show-details') }}

{{--

▲ 8.2%

--}}
{{-- بنك الادخار --}}

{{ $ssdBankRevenue ?? 0.0 }}

إيرادات بنك الإدخار

{{-- بنك المزارع --}}

{{ isset($fcbSudanBankRevenue) ? $fcbSudanBankRevenue : 0.0 }}

إيرادات بنك المزارع

{{-- بنك النيل --}}

{{ isset($nbBankRevenue) ? $nbBankRevenue : 0.0 }}

إيرادات بنك النيل

{{-- بنك النيلين --}}

{{ isset($_2nbBankRevenue) ? $_2nbBankRevenue : 0.0 }}

إيرادات بنك النيلين

{{-- بنك النيلين --}}

{{ isset($uofsfinancial) ? $uofsfinancial : 0.0 }}

إيرادات المحاسبين

@endif
@endsection @section('scripts') @endsection