@extends('admin.layouts.app') @push('style') @endpush @section('content')

Dashboard

@forelse ($districts as $district) @empty @endforelse
District Name Created At Status Action
{{ $district->district_name }} {{ date('d-m-Y', strtotime($district->created_at)) }} @switch($district->status) @case(1) Active @break @case(0) Inactive @break @default Deleted @endswitch
No Data Yet
@forelse ($schoolAdmins as $user) @empty @endforelse
Name Email Phone Created On Status
{{ $user->full_name }} {{ $user->email }} {{ $user->mobile_number ?? '--' }} {{ date('d-m-Y', strtotime($user->created_at)) }} @switch($user->is_active) @case(1) Active @break @case(0) Inactive @break @default Deleted @endswitch
No Data Yet
{{--
--}}
@forelse ($conferences as $conferenceList) @empty @endforelse
School Name Request ID Conference Name Conference Date Total Cost Status
{{ $conferenceList->approvependingschool?->school_name ?? 'N/A' }} {{ 'REQ' . '_' . substr(md5(microtime()), 0, 8) }} {{ $conferenceList->conference_title }} {{ date('d-m-Y', strtotime($conferenceList->created_at)) }}   {{ number_format($conferenceList->registratiion_no + $conferenceList->lodging?->sum('lodging') + $conferenceList->meals?->sum('meal') + $conferenceList->milages?->sum('milage') + $conferenceList->miscellaneous?->sum('miscellaneous') + $conferenceList->parking?->sum('parking') + $conferenceList->toll?->sum('tolls'), 2) }} @if ($conferenceList->is_approved == 1 && $conferenceList->is_all_approved == 1) {{ 'Approved' }} @elseif($conferenceList->is_approved == 2) {{ 'rejected' }} @else {{ 'Waiting For Approval' }} @endif
No Data Yet
@endsection @push('scripts') @endpush