@extends('web.layouts.container') @section('css') @endsection @section('content')
{{-- basic information--}}
الاسم الكامل

{{$user->name}}

الجنس

{{__('users.'.$user->gender)}}

البريد الالكتروني

{{$user->email}}

الهاتف

+966 {{$user->phone}}

كلمة المرور

*** *** *** ***

{{-- Edite profile--}}
@csrf
gender == 'male' ? 'checked' : ''}} type="radio" id="gender" name="gender" value="male" class="custom-control-input">
gender == 'female' ? 'checked' : ''}} type="radio" id="female" name="gender" value="female" class="custom-control-input">
+966
{{--Notifications--}}

التنبيهات ({{$notificationsCount}})

وضع الكل كمقروء تحديث الإشعارات
@if(count($notifications)) @foreach($notifications as $notification)
@if(!$notification->is_read ||(is_array($notification->is_read) && !in_array($user->id, $notification->is_read))) @endif
{!! $notification->title !!} {!! $notification->message !!}
{{$notification->created_at->setTimeZone('Asia/Riyadh')->format('h:i A')}}
@endforeach @endif
{{-- Courses--}}
@if(count($courses)) @foreach($courses as $course)
{{$course->category_name}}
{{$course->instructor_name}}

{{$course->name}}

( {{$course->evaluate_count}} تقييم )
@if($course->course_type == 'payed')
  • يبدأ من {{date('d F', strtotime($course->start_date))}} وينتهى {{date('d F', strtotime($course->end_date))}}
  • أيام الأسبوع @php /** @var TYPE_NAME $course */ $allDays = explode(', ', $course->days); @endphp @foreach($allDays as $day) {{ucfirst(__('courses.'.$day))}} @endforeach {{-- ({{str_replace(',', ' ', $course->days)}}) --}}
@endif @if(in_array($course->course_type, ['record_payed']))
  • دورة مسجلة
  • ساعات الدورة{{$course->hours}}
@endif @if(in_array($course->course_type, ['free']))
  • دورة مجانية
  • ساعات الدورة{{$course->hours}}
@endif
@endforeach @endif
{{--Messages--}}
@csrf
@if(count($messages)) @foreach($messages as $message)
@endforeach @else
No message found
@endif
@csrf
{{--Calender--}}
{{-- Reply message modal --}} @endsection @section('inner_js') @endsection