@extends('Billing.layout') @section('content') @php use Illuminate\Support\Facades\Auth; $branchName = ''; if (Auth::guard('billing')->check()) { $branch = \App\Models\Branch::find(Auth::guard('billing')->user()->branch_id); $branchName = $branch?->branch_name; } elseif (Auth::guard('branch')->check()) { $branchName = Auth::guard('branch')->user()->branch_name; } @endphp
Dashboard, {{ $branchName }}

Bills

-

Low Stock

{{ $lowStockCount ?? 0 }}

@endsection