@csrf
@if ($errors->has('name')) {{ $errors->first('name') }} @endif
@if ($errors->has('last_name')) {{ $errors->first('last_name') }} @endif
@if ($errors->has('email')) {{ $errors->first('email') }} @endif
Birthday
@if ($errors->has('age')) {{ $errors->first('age') }} @endif
@if($allergy)
@endif @foreach ($existing_contacts as $index => $contact)

Contact {{$index}}

@endforeach
{{--
@json($courses_attach)
--}}
@if ($errors->has('action_id')) {{ $errors->first('action_id') }} @endif

Courses

    @if($courses) @foreach($courses as $course)
  • @endforeach @endif
@if($courses_attach && count($courses_attach) > 0) @foreach ($courses_attach as $primaryId) @if($course = $courses->find($primaryId))

{{$course->title}} Level

    @foreach($course->levels as $level)
  • @endforeach
@endif @endforeach @endif
Uploading...
@if ($existing_files_docs) @foreach ($existing_files_docs as $index => $file_input) @if(is_array($file_input) && $file_input['file_name'])

{{ \Str::limit($file_input['file_name'], 10) }}

@if($file_input && $file_input['file_path']) Download @endif
@else

{{ \Str::limit($file_input->getClientOriginalName(), 10) }}

@if($file_input->getClientOriginalExtension() == "pdf") @elseif($file_input->getClientOriginalExtension() == "png" || $file_input->getClientOriginalExtension() == "jpg" || $file_input->getClientOriginalExtension() == "jpeg" || $file_input->getClientOriginalExtension() == "webp") hero @endif

@if($file_input && is_string($file_input)) Download @endif
@endif @endforeach @endif
@push('scripts') @endpush