@extends('backend.admin-master') @section('site-title') {{__('Dashboard')}} @endsection @section('content')
@if(check_page_permission('admin_manage'))
{{$total_admin}}

{{__('Total Admin')}}

@endif @if(check_page_permission_by_string('Blogs Manage'))
{{$blog_count}}

{{__('Total Blogs')}}

@endif @if(check_page_permission_by_string('Job Post Manage') && !empty(get_static_option('job_module_status')))
{{$total_jobs}}

{{__('Total Jobs')}}

@endif @if(check_page_permission_by_string('Events Manage') && !empty(get_static_option('events_module_status')))
{{$total_events}}

{{__('Total Events')}}

{{$total_event_attendance}}

{{__('Total Events Attendance')}}

@endif @if(check_page_permission_by_string('Donations Manage') && !empty(get_static_option('donations_module_status')))
{{$total_donations}}

{{__('Total Donations Cause')}}

{{$total_donated_log}}

{{__('Total Donated')}}

@endif @if(check_page_permission_by_string('Products Manage') && !empty(get_static_option('product_module_status')))
{{$total_products}}

{{__('Total Products')}}

{{$total_product_order}}

{{__('Total Products Order')}}

@endif @if(check_page_permission_by_string('Services'))
{{$total_services}}

{{__('Total Services')}}

@endif @if(check_page_permission_by_string('Price Plan'))
{{$total_price_plan}}

{{__('Total Price Plan')}}

@endif @if(check_page_permission_by_string('Case Study'))
{{$total_works}}

{{__('Total Case Study')}}

@endif @if(!empty(get_static_option('course_module_status')))
{{$total_courses}}

{{__('Total Cources')}}

{{$total_courses_enroll}}

{{__('Total Course Enrolls')}}

@endif @if(!empty(get_static_option('appointment_module_status')))
{{$total_appointments}}

{{__('Total Appointments')}}

{{$total_appointment_booking}}

{{__('Total Appointment Booking')}}

@endif
@if(check_page_permission_by_string('Products Manage') && !empty(get_static_option('product_module_status')))

{{__('Recent Product Order')}}

@foreach($product_recent_order as $data) @endforeach
{{__('Order ID')}} {{__('Amount')}} {{__('Payment Gateway')}} {{__('Payment Status')}} {{__('Date')}}
#{{$data->id}} {{amount_with_currency_symbol($data->total)}} {{str_replace('_',' ',$data->payment_gateway)}} @php $pay_status = $data->payment_status; @endphp @if($pay_status == 'complete') {{__($pay_status)}} @elseif($pay_status == 'pending') {{__($pay_status)}} @endif {{date_format($data->created_at,'d M Y h:i:s')}}
@endif @if(check_page_permission_by_string('Events Manage') && !empty(get_static_option('events_module_status')))

{{__('Recent Event Attendance Booking')}}

@foreach($event_attendance_recent_order as $data) @endforeach
{{__('Attendance ID')}} {{__('Amount')}} {{__('Payment Status')}} {{__('Date')}}
#{{$data->id}} {{amount_with_currency_symbol((int)$data->event_cost * $data->quantity)}} @php $pay_status = $data->payment_status; @endphp @if($pay_status == 'complete') {{__($pay_status)}} @elseif($pay_status == 'pending') {{__($pay_status)}} @endif {{date_format($data->created_at,'d M Y h:i:s')}}
@endif @if(check_page_permission_by_string('Donations Manage') && !empty(get_static_option('donations_module_status')))

{{__('Recent Donation Logs')}}

@foreach($donation_recent as $data) @endforeach
{{__('Donation ID')}} {{__('Amount')}} {{__('Payment Gateway')}} {{__('Payment Status')}} {{__('Date')}}
#{{$data->id}} {{amount_with_currency_symbol($data->amount)}} {{str_replace('_',' ',$data->payment_gateway)}} @php $pay_status = $data->status; @endphp @if($pay_status == 'complete') {{__($pay_status)}} @elseif($pay_status == 'pending') {{__($pay_status)}} @endif {{date_format($data->created_at,'d M Y h:i:s')}}
@endif @if(check_page_permission_by_string('Price Plan'))

{{__('Recent Package Order')}}

@foreach($package_recent_order as $data) @endforeach
{{__('Order ID')}} {{__('Package Name')}} {{__('Payment Status')}} {{__('Date')}}
#{{$data->id}} {{$data->package_name}} @php $pay_status = $data->payment_status; @endphp @if($pay_status == 'complete') {{__($pay_status)}} @elseif($pay_status == 'pending') {{__($pay_status)}} @endif {{date_format($data->created_at,'d M Y h:i:s')}}
@endif
@endsection