@extends('backend.admin-master') @section('site-title') {{__('Courses Enroll')}} @endsection @section('style') @include('backend.partials.datatable.style-enqueue') @endsection @section('content')

{{__('All Enrollment')}}

@foreach($all_enroll as $data) @endforeach
{{__('ID')}} {{__('Title')}} {{__('Payment Gateway')}} {{__('Payment Status')}} {{__('Enroll Status')}} {{__('Action')}}
{{$data->id}} {{optional(optional($data->course)->lang)->title ?? __('Untitled')}} {{str_replace('_',' ',$data->payment_gateway)}} @if($data->payment_status == 'pending') @endif @if($data->payment_gateway === 'manual_payment' && $data->payment_status == 'pending') @endif @if(!empty($data->manual_payment_attachment)) {{__('View Attachment')}} @endif
@endsection @section('script') @include('backend.partials.bulk-action',['action' => route('admin.course.enroll.bulk.action')]) @include('backend.partials.datatable.script-enqueue') @endsection