@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('Y-m-d h:i A')}}
@endforeach @else
No Notifications
@endif
{{-- Courses--}}
@if(count($courses)) @foreach($courses as $course) {{-- @php--}} {{-- /** @var TYPE_NAME $course */--}} {{-- $courseShowTime = $course->show_time;--}} {{-- $time = time() > strtotime("$courseShowTime months", strtotime($course->subscription_date));--}} {{-- @endphp--}} {{-- @if($time) @continue @endif--}}
{{$course->category_name}}
{{$course->instructor_name}}

{{$course->name}}

( {{$course->evaluate_count}} تقييم )
@if(in_array($course->course_type, ['payed', 'record_payed']))

@if($course->coupon_discount) {{-- last total --}} @if($course->coupon_type == 'admin') {{($course->price+(($course->price*settings('added_value'))/100))-((($course->price+(($course->price*settings('added_value'))/100))*$course->coupon_discount)/100)}} SAR @endif @if($course->coupon_type == 'earned') {{(($course->price+($course->price*settings('added_value'))/100)-$course->coupon_discount)}} SAR @endif @endif @if($course->points) {{($course->price+($course->price*settings('added_value'))/100)-($course->points/25)}} SAR @endif @if(!$course->coupon_discount && !$course->points) {{(($course->price*settings('added_value'))/100)+$course->price}} SAR @endif

@endif @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 @else
لا توجد اشتراكات دورات في الوقت الحالي! تصفح دوراتنا
@endif
{{--Cerifications--}}
@if(count($certifications)) @foreach($certifications as $certification)
{{$certification->course_name}}
تحميل
عرض تفاصيل الشهاده
تحميل
@endforeach @else
لم يتم إصدار شهادات حتى الآن!
@endif
{{--Messages--}}
@csrf
@if(count($messages)) @foreach($messages as $message)
@endforeach @else
No message found
@endif
@csrf
{{--
--}} {{-- --}} {{-- --}} {{--
--}}
{{--Calender--}}
@if(count($coursesBills)) @foreach($coursesBills as $coursesBill) @php /** @var TYPE_NAME $coursesBill */ $calcBill = calcBill($coursesBill); @endphp
فاتورة كورس {{$calcBill['course_name']}}
{{-- --}}

({{$calcBill['id']}}) فاتورة

إسم العميل: {{$user->name}}
رقم الجوال: {{$user->phone}}
التاريخ : {{date('Y M d', strtotime($coursesBill->subscription_date ?? $coursesBill->created_at))}}
الرقم الضريبي : {{settings('tax_number')}}
@if($calcBill['coupon_discount']) @endif @if($calcBill['points']) @endif @if($calcBill['coupon_discount']) {{-- discount value --}} {{-- Price after discount --}} {{-- added value after discount --}} {{-- last total --}} @endif @if($calcBill['points']) {{--Dicount amount--}} {{-- Price after discount --}} {{-- total --}} @endif @if(!$calcBill['coupon_discount'] && !$calcBill['points']) @endif
# البيان السعر القيمة المضافه طريقة الدفعكوبون السعر بعد الخصم القيمة المضافه بعد الخصمنقاط السعر بعد الخصمالمجموع
{{$calcBill['id']}} كورس {{$calcBill['course_name']}} {{$calcBill['price']}} SAR {{$calcBill['added_value_amount']}} SAR {{$calcBill['pay_way']}}{{$calcBill['discount_amount']}}{{$calcBill['price_after_discount']}}{{$calcBill['added_value_amount_after_discount']}}{{$calcBill['total']}}{{$calcBill['discount_amount']}}{{$calcBill['price_after_discount']}}{{$calcBill['total']}}{{$calcBill['total']}} SAR

{{$site_address}}

{{$site_phone}} - {{$site_phone}}

{{$site_email}}

@endforeach @else
لم يتم إصدار فواتير حتى الآن!
@endif
{{--Coupons--}}
@if(count($coupons)) @foreach($coupons as $coupon)
كوبون خصم
{{--

عند موافقه العميل المبدئيه على التصميم يتم ازالة هذا النص من التصميم

--}} {{--

خصم العيد

--}} @if($coupon->user_name)
تم استخدام الكوبون بواسطة

{{$coupon->user_name}}

@else
نسخ الكود
@endif
@if($coupon->user_name)
Discount {{$coupon->discount}} SR
@else
Discount {{$coupon->discount}} SR
@endif
@endforeach @else
لم يتم إصدار كوبونات حتى الآن!
@endif
{{-- Reply message modal --}} @endsection @section('inner_js') @endsection