@extends('admin.layouts.app') @section('content')

{{ $pageTitle }}

@foreach($becomeInstructors as $become) @if(!empty($become->user->full_name)) @else @endif @endforeach
{{ trans('admin/main.user') }} {{ trans('update.package') }} {{ trans('admin/main.status') }} {{ trans('admin/main.created_at') }} {{ trans('admin/main.actions') }}
{{ $become->user->full_name }}User Deleted @if(!empty($become->registrationPackage)) {{ $become->registrationPackage->title }} @else --- @endif @if($become->status == 'accept') {{ trans('admin/main.accepted') }} @elseif($become->status == 'pending') {{ trans('admin/main.waiting') }} @else {{ trans('public.rejected') }} @endif {{ dateTimeFormat($become->created_at, 'Y M j | H:i') }} @can('admin_become_instructors_reject') @if($become->status != 'accept') @include('admin.includes.delete_button',[ 'url' => getAdminPanelUrl("/users/{$become->user_id}/acceptRequestToInstructor") , 'btnClass' => 'mr-1', 'btnIcon' => 'fa-check', 'tooltip' => trans('admin/main.accept_request') ]) @include('admin.includes.delete_button',[ 'url' => getAdminPanelUrl("/users/become-instructors/{$become->id}/reject") , 'btnClass' => 'mr-1', 'btnIcon' => 'fa-times', 'tooltip' => trans('admin/main.reject_request') ]) @endif @endcan @can('admin_users_edit') @endcan @can('admin_become_instructors_delete') @include('admin.includes.delete_button',[ 'url' => getAdminPanelUrl().'/users/become-instructors/'. $become->id .'/delete' , 'btnClass' => '', 'btnIcon' => 'fa-trash', 'tooltip' => trans('admin/main.delete') ]) @endcan
{{trans('admin/main.hints')}}
{{trans('admin/main.become_instructor_hint_title_1')}}
{{trans('admin/main.become_instructor_hint_description_1')}}
{{trans('admin/main.become_instructor_hint_title_2')}}
{{trans('admin/main.become_instructor_hint_description_2')}}
@endsection @push('scripts_bottom') @endpush