@stack('head') @php $u = auth()->user(); $nav = function ($route, $icon, $label, $count = 0, $match = null) { $active = request()->routeIs($match ?? $route) ? 'active' : ''; $badge = $count ? '' . $count . '' : ''; return '' . icon($icon) . '' . e(__($label)) . '' . $badge . ''; }; @endphp

@yield('title', __('Dashibodi'))

@foreach (\App\Http\Middleware\SetLocale::SUPPORTED as $lc => $ll){{ strtoupper($lc) }}@endforeach
@if ($openShift) {{ __('Zamu wazi') }} · {{ $openShift->opened_at->format('H:i') }} @else {{ __('Hujafungua zamu') }} @endif @if ($tenant && $tenant->daysLeft() !== null && $tenant->daysLeft() <= 7) {{ __('Usajili: siku') }} {{ $tenant->daysLeft() }} @endif
@if (session('success'))
{!! icon('check') !!}
{{ session('success') }}
@endif @if (session('error'))
{!! icon('alert') !!}
{{ session('error') }}
@endif @if ($errors->any())
{!! icon('alert') !!}
{{ $errors->first() }}
@endif @yield('content')
@include('partials.printer') @stack('scripts')