@extends('layouts.admin') @section('meta') {{trans('home.schedule_students')}} @endsection @section('content')
{{trans('home.trainings')}}

@error('country_id') {{ $message }} @enderror
@error('country_id') {{ $message }} @enderror
@foreach ($trainings as $training) @foreach ($training->students as $student) @endforeach @endforeach
{{ trans('home.ssn') }} {{ trans('home.name') }} {{ trans('home.phone') }} {{ trans('home.training') }} {{ trans('home.code') }} {{ trans('home.region') }} {{ trans('home.start_date') }} {{ trans('home.end_date') }}
{{ $student->user->student_info->ssn }} {{ $student->user->name() }} {{ $student->user->student_info->mobile }} {{ $training->{'name_'.$lang} }} {{ $training->code }} {{ $training->region->{'name_'.$lang} ?? '' }} {{\Carbon\Carbon::parse($training->trainings_schaduals->start_date)->format("d / m / Y") }} {{\Carbon\Carbon::parse($training->trainings_schaduals->end_date)->format("d / m / Y") }}
@endsection @section('script') @endsection