@extends('layouts.master') @section('title') {{ __('sentence.Dashboard') }} @endsection @section('content')
{{ __('sentence.New Appointments') }}
{{ $total_appointments_today->count() }}
{{ __('sentence.Total Appointments') }}
{{ $total_appointments }}
{{ __('sentence.New Patients') }}
{{ $total_patients_today }}
{{ __('sentence.All Patients') }}
{{ $total_patients }}
{{ __('sentence.Total Prescriptions') }}
{{ $total_prescriptions }}
{{ __('sentence.Total Payments') }}
{{ $total_payments }}
{{ __('sentence.Payments this month') }}
{{ $total_payments_month }} {{ App\Setting::get_option('currency') }}
{{ __('sentence.Payments this year') }}
{{ $total_payments_year }} {{ App\Setting::get_option('currency') }}
{{ __('sentence.Appointment List') }} | {{ Today()->format('d M Y') }}
@foreach($total_appointments_today as $appointment) @endforeach
ID {{ __('sentence.Patient Name') }} {{ __('sentence.Date') }} {{ __('sentence.Time Slot') }} {{ __('sentence.Status') }} {{ __('sentence.Created at') }} {{ __('sentence.Actions') }}
{{ $appointment->id }} {{ $appointment->User->name }} {{ $appointment->date->format('d M Y') }} {{ $appointment->time_start }} - {{ $appointment->time_end }} @if($appointment->visited == 0) {{ __('sentence.Not Yet Visited') }} @elseif($appointment->visited == 1) {{ __('sentence.Visited') }} @else {{ __('sentence.Cancelled') }} @endif {{ $appointment->created_at->format('d M Y H:i') }}
@endsection @section('header') @endsection @section('footer') @endsection