@extends('layouts.base') @section('body') @php($tenant = app(\App\Support\Tenancy::class)->get())
@auth @endauth
@isset($subscriptionInGrace)
โš  {{ __('Your subscription has expired. Renew to regain access.') }} โ€” {{ __('Billing') }}
@endisset @isset($waUsage) @if($waUsage['level'] === 'warn')
๐Ÿ“Š {{ __('You have used :used of :limit WhatsApp messages this month.', ['used' => $waUsage['used'], 'limit' => $waUsage['limit']]) }} {{ __('Upgrade') }}
@elseif($waUsage['level'] === 'over')
๐Ÿ“Š {{ __('You have reached your monthly WhatsApp limit (:limit). Messages still send, but consider upgrading.', ['limit' => $waUsage['limit']]) }} {{ __('Upgrade') }}
@endif @endisset @if(session('status'))
{{ session('status') }}
@endif @if(session('error'))
{{ session('error') }}
@endif @yield('content')
@auth {{-- Mobile bottom navigation (app-like, @foreach([ ['tenant.dashboard', __('Home'), '๐Ÿ“Š'], ['tenant.appointments.index', __('Calendar'), '๐Ÿ“…'], ['tenant.patients.index', __('Patients'), '๐Ÿ‘ค'], ['tenant.treatment-plans.index', __('Plans'), '๐Ÿ“‹'], ] as [$route, $label, $icon]) {{ $icon }}{{ $label }} @endforeach โ˜ฐ{{ __('More') }}
@foreach([ ['tenant.invoices.index', __('Invoices'), '๐Ÿงพ'], ['tenant.installments.index', __('Installments'), '๐Ÿ’ฐ'], ['tenant.whatsapp.index', __('WhatsApp'), '๐Ÿ’ฌ'], ['tenant.recalls.index', __('Recalls'), '๐Ÿ””'], ['tenant.reports.revenue', __('Reports'), '๐Ÿ“ˆ'], ['tenant.whatsapp.templates', __('Templates'), 'โœ๏ธ'], ['tenant.dentists.index', __('Dentists'), '๐Ÿฆท'], ['tenant.procedures.index', __('Procedures'), '๐Ÿงฐ'], ['tenant.exceptions.index', __('Days off'), '๐ŸŒด'], ['tenant.billing', __('Billing'), '๐Ÿ’ณ'], ] as [$route, $label, $icon]) {{ $icon }} {{ $label }} @endforeach
@csrf
@endauth @stack('page-scripts') @endsection