@extends('frontend.user.dashboard.user-master') @section('section') @if(!empty(get_static_option('course_module_status'))) @if(count($all_enrolls) > 0)
@foreach($all_enrolls as $data) @endforeach
{{__('Enroll Info')}} {{__('Enroll & Payment Status')}}
@if(!empty($data->course)) {{optional(optional($data->course)->lang_front)->title}} @else
{{__('This item is not available or removed')}}
@endif
{{__('Enroll ID:')}} #{{$data->id}} {{__('Amount:')}} {{amount_with_currency_symbol(course_discounted_amount($data->total,$data->coupon))}} @if(!empty($data->coupon)) {{amount_with_currency_symbol($data->total)}} @endif {{__('Payment Gateway:')}} {{str_replace('_',' ',__($data->payment_gateway))}} {{__('Enroll Status:')}} {{$data->status}} @if(!empty($data->coupon)) {{__('Coupon:')}} {{$data->coupon}} @endif @if(!empty($data->coupon)) {{__('Discount:')}} {{amount_with_currency_symbol($data->coupon_discounted)}} @endif @if($data->payment_status === 'complete') {{__('Transaction Id:')}} {{$data->transaction_id}} @endif {{__('Date:')}} {{date_format($data->created_at,'d M Y')}}
@if($data->status == 'pending') {{__($data->status)}} @if( $data->payment_gateway != 'manual_payment')
@csrf
@endif
@csrf
@elseif($data->status == 'cancel') {{__($data->status)}} @else {{__($data->status)}}
{{__('Start Learning')}} @if(!is_null($data->certificate)) @if(optional($data->certificate)->status === 0) {{__('Waiting For Approval')}} @else {{__('Download Certificate')}} @endif @else
@csrf
@endif @endif
{{ $all_enrolls->links() }}
@else
{{__('Nothing Found')}}
@endif @endif @endsection