@csrf @if ($training->exists) @method('PUT') @endif
@if ($errors->any())
@foreach ($errors->all() as $error)

{{ $error }}

@endforeach
@endif
Training Record
@foreach($users as $user) @endforeach @foreach(\App\Models\TrainingProvider::query()->active()->get() as $provider) @endforeach
@error('completed_at') {{ $message }} @enderror
@foreach(\App\Models\Training::getConstants('STATUS_') as $status) @endforeach
{{--
@include('backend.trainings.certificate-list')
--}} @foreach(\App\Models\CompetencyRating::active()->highestOrder()->get() as $rating) @endforeach {{-- @foreach(\App\Models\Training::getConstants('RECURRING_PERIOD_') as $period) @endforeach --}}
@error('recurring_period') {{ $message }} @enderror
@if($training->exists)
@endif @unless(request()->routeIs($routePrefix . '.trainings.show'))
{{----}} @if(request()->route()->getName() === $routePrefix . '.trainings.calendar') Cancel @else Cancel @endif @if(!$training->exists) @endif
@endunless
@foreach($training->getMedia(\App\Models\File::COLLECTION_CERTIFICATE) as $certificate) @endforeach @push('js') @endpush