• Notifications @php $notifications = auth()->guard('admin')->user()->Notifications; @endphp
    @if ($notifications->count() > 0 )
      @foreach($notifications as $notification) @if($notification->type==='App\Notifications\AppoinmentNotification') @php $appoinment_notification=App\Models\Appointments::where('id',$notification->data['appoinment_id'])->first(); @endphp @if($appoinment_notification!=null) @if($appoinment_notification->user)
    • @if($appoinment_notification->callMethod->id==1) @elseif($appoinment_notification->callMethod->id==2) @endif

      @if($appoinment_notification->Appointment_Status=='Awaiting') Video Consultation @else Notification @endif

      @if($appoinment_notification->Appointment_Status=='Awaiting')

      Receive a new appoinment request for {{$appoinment_notification->callMethod->name}} Consultation on {{ date('j \\ F Y', strtotime($appoinment_notification->Appointment_Date)) }} at {{$appoinment_notification->Appointment_Time}}

      {{ date('j \\ F Y, g:i A', strtotime($notification->created_at)) }}

      @else

      {{ucfirst($appoinment_notification->user->First_Name)}} {{ucfirst($appoinment_notification->user->Last_Name)}} {{$appoinment_notification->Appointment_Status}} appoinment on {{ date('j \\ F Y', strtotime($appoinment_notification->updated_at)) }}

      {{ date('j \\ F Y, g:i A', strtotime($notification->updated_at)) }}

      @endif
    • @endif @endif @elseif($notification->type==='App\Notifications\UserRegistrationNotification') @php $user_notification=App\Models\User::where('id',$notification->data['user_id'])->first(); @endphp @if($user_notification)
    • New User Registered

      A new user registered on {{ date('j \\ F Y', strtotime($notification->created_at)) }}

      {{ date('j \\ F Y, g:i A', strtotime($notification->created_at)) }}

    • @endif @endif @endforeach
    @endif
  • {{Session::get('user')->name}}
    {{DB::table("roles")->where('id',Session::get('user')->role_id)->pluck('name')->first()}}
    Admin
    Change Password Logout
Change Password Logout