@extends('layouts.app') @section('title') {{ __('messages.dashboard') }} @endsection @section('content')
{{--
--}}

{{ __('messages.welcome_back') }}

{{ __('messages.dashboard') }}
@if(getLogInUser()->hasRole('patient')) img-fluid @elseif(getLogInUser()->hasRole('doctor')) img-fluid @else img-fluid @endif

{{ getLogInUser()->full_name }}

{{ getLogInUser()->email }}

{{__('messages.user.edit_profile')}}

{{__('messages.doctor.profile')}} →

{{ __('messages.monthly_expense') }}

{{ __('messages.datepicker.this_month') }}
0
100.00% ^
{{ __('messages.from_previous_month') }}

{{ __('messages.patient_dashboard.today_appointments') }}

@forelse($data['todayAppointment'] as $appointment) @empty @endforelse
{{ __('messages.doctor.doctor') }} {{ __('messages.appointment.time') }}
user
{{ $appointment->doctor->user->fullname }} {{ $appointment->doctor->user->email }}
{{ $appointment->from_time }} {{ $appointment->from_time_type }} - {{ $appointment->to_time }} {{ $appointment->to_time_type }}
{{ __('messages.common.no_data_available') }}

{{ __('messages.patient_dashboard.upcoming_appointments') }}

@forelse($data['upcomingAppointment'] as $appointment) @empty @endforelse
{{ __('messages.doctor.doctor') }} {{ __('messages.appointment.date') }}
user
{{ $appointment->doctor->user->fullname }} {{ $appointment->doctor->user->email }}
{{ \Carbon\Carbon::parse($appointment->date)->isoFormat('DD MMM YYYY') }} {{ $appointment->from_time }} {{ $appointment->from_time_type }} - {{ $appointment->to_time }} {{ $appointment->to_time_type }}
{{ __('messages.common.no_data_available') }}
{{ Form::hidden('patient_chart_data', json_encode($patientAllAppointment, true), ['id' => 'patientChartData']) }}
{{--
--}}
@include('generate_patient_smart_cards/components/show_card') @endsection