| {{ app()->getLocale() == 'en' ? $translations['start']['value_en'] : $translations['start']['value_ar'] }} - {{ app()->getLocale() == 'en' ? $translations['end']['value_en'] : $translations['end']['value_ar'] }} | {{ app()->getLocale() == 'en' ? $translations['venue']['value_en'] : $translations['venue']['value_ar'] }} | {{ app()->getLocale() == 'en' ? $translations['course_name']['value_en'] : $translations['course_name']['value_ar'] }} | {{ app()->getLocale() == 'en' ? $translations['days']['value_en'] : $translations['days']['value_ar'] }} | {{ app()->getLocale() == 'en' ? $translations['course_time']['value_en'] : $translations['course_time']['value_ar'] }} | {{ app()->getLocale() == 'en' ? $translations['language']['value_en'] : $translations['language']['value_ar'] }} | {{ app()->getLocale() == 'en' ? $translations['contact']['value_en'] : $translations['contact']['value_ar'] }} |
|---|---|---|---|---|---|---|
| {{ \Carbon\Carbon::parse($course->start_date)->format('d/m/Y') }} - {{ \Carbon\Carbon::parse($course->end_date)->format('d/m/Y') }} | {{ $course->defaultLocale->venue }} | {{ isset($course->courses) ? ($course->courses->defaultLocale ? $course->courses->defaultLocale->title : '') : '' }} | @php $daysArray = json_decode($course->days); @endphp@if (is_array($daysArray) && !empty($daysArray)) @foreach ($daysArray as $day) {{ app()->getLocale() == 'en' ? $translations[strtolower($day)]['value_en'] : $translations[strtolower($day)]['value_ar'] }} @if (!$loop->last) , @endif @endforeach @endif | {{ $course->start_time }} – {{ $course->end_time }} | {{ $course->defaultLocale->language }} | {{ app()->getLocale() == 'en' ? $translations['register_now']['value_en'] : $translations['register_now']['value_ar'] }} |