@extends('admin.layouts.app') @section('title', __('dashboard.title')) @section('breadcrumb') @endsection @section('content') @php $currency = __('dashboard.currency_symbol'); $canViewFinancial = (bool) ($canViewFinancial ?? false); $chartLabels = $appointmentsBySpecialty->pluck('specialty_name')->take(7)->values(); $chartAppointmentValues = $appointmentsBySpecialty->pluck('appointments_count')->take(7)->values(); $chartRevenueLabels = $revenueBySpecialty->pluck('specialty_name')->take(6)->values(); $chartRevenueValues = $revenueBySpecialty->pluck('revenue_total')->map(fn ($value) => (float) $value)->take(6)->values(); $chartDoctorLabels = $doctorsBySpecialty->pluck('specialty_name')->take(6)->values(); $chartDoctorValues = $doctorsBySpecialty->pluck('doctors_count')->take(6)->values(); @endphp
{{ __('dashboard.hero.subtitle') }}
{{ __('dashboard.charts.appointments_subtitle') }}
{{ __('dashboard.charts.revenue_subtitle') }}
{{ __('dashboard.charts.doctors_subtitle') }}