@stack('styles')
{{ trans('dashboard.new_invoice_btn') }}

@yield( 'header_title', trans('dashboard.title') )

{{-- Notification Bell --}} @php $dashboardUnreadNotifCount = \App\Models\AppNotification::where(function($q) { $u = auth()->user(); $q->where('tenant_id', $u->tenant_id)->orWhere('user_id', $u->id); })->where('is_admin', false)->where('is_read', false)->count(); @endphp @if($dashboardUnreadNotifCount > 0) {{ $dashboardUnreadNotifCount > 9 ? '9+' : $dashboardUnreadNotifCount }} @endif @if(auth()->user()->tenant->is_sandbox) @else @endif
@if(session('success'))
{{ session('success') }}
@endif @if(session('error'))
{{ session('error') }}
@endif @if($errors->any())
{{ trans('dashboard.form_errors_heading') }}
    @foreach($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif @yield('content')
@stack('scripts') @yield('scripts')