@extends('layouts.app')
@section('title', __('Dashboard').' โ '.$tenant->name)
@section('content')
@php($tz = \App\Support\ClinicTime::timezone())
@foreach([
[__("Today's appointments"), $kpis['today_total'], '๐
'],
[__('Completed today'), $kpis['today_completed'], 'โ
'],
[__('This week'), $kpis['week_total'], '๐'],
[__('No-shows this week'), $kpis['no_shows_week'], '๐ซ'],
[__('New patients this week'), $kpis['new_patients_week'], 'โจ'],
[__('Total patients'), $kpis['patients_total'], '๐ฅ'],
] as [$label, $value, $icon])
{{ $icon }} {{ $label }}
{{ $value }}
@endforeach
@if($money)
@foreach([
[__('Due today'), $money['due_today'], '#0EA5E9'],
[__('Due this week'), $money['due_week'], '#8B5CF6'],
[__('Overdue'), $money['overdue'], '#EF4444'],
[__('Total outstanding'), $money['total_outstanding'], '#F5A524'],
] as $w)
@endforeach
@endif