@auth @php $u = auth()->user(); @endphp {{-- Mobile top bar with sidebar toggle --}}
{{ config('app.name') }}
{{ config('app.name') }}
{{ $u->roleLabel() }}
Dashboard
@if($u->canManagePatients())
Patient Management
Patients
Add Patient
Tests
Patient Reports
Fee Report
@endif @if($u->canManageIngredients())
Inventory Management
Ingredients
Categories
Supplier Entries
Ingredient Usage
Ingredient Reports
Inventory Report / PDF
@endif @if($u->canManageProducts())
Product Management / POS
POS Sale Screen
Products
Product Categories
Sales / Receipts
Product Reports
@endif @if($u->isAdmin())
System
Backups
Activity Logs
@endif
{{ $u->name }}
Profile
@csrf
Logout
@yield('title', 'Dashboard')
@yield('actions')
@include('partials.flash') @yield('content')
@else @yield('content') @endauth