@php // Destinations + quick actions surfaced by the header search. Keywords feed // the client-side matcher so e.g. "bill" finds Invoices. $items = [ ['label' => __('Dashboard'), 'href' => route('dashboard'), 'icon' => 'squares-2x2', 'kw' => 'home overview'], ['label' => __('Customers'), 'href' => route('people.index'), 'icon' => 'users', 'kw' => 'clients contacts people'], ['label' => __('Products'), 'href' => route('products.index'), 'icon' => 'cube', 'kw' => 'items catalogue'], ['label' => __('Quotes'), 'href' => route('quotes.index'), 'icon' => 'document-text', 'kw' => 'estimates proposals'], ['label' => __('Invoices'), 'href' => route('invoices.index'), 'icon' => 'document-currency-dollar', 'kw' => 'bills billing'], ['label' => __('Jobs'), 'href' => route('jobs.index'), 'icon' => 'briefcase', 'kw' => 'production work orders'], ['label' => __('Targets'), 'href' => route('targets.index'), 'icon' => 'flag', 'kw' => 'goals kpis'], ['label' => __('Expenses'), 'href' => route('expenses.index'), 'icon' => 'receipt-percent', 'kw' => 'costs spending'], ['label' => __('Suppliers'), 'href' => route('purchasing.index', ['tab' => 'suppliers']), 'icon' => 'building-office', 'kw' => 'vendors partners bills purchasing'], ['label' => __('Reports'), 'href' => route('reports.index'), 'icon' => 'arrow-trending-up', 'kw' => 'analytics insights'], ['label' => __('Settings'), 'href' => route('settings.index'), 'icon' => 'cog-6-tooth', 'kw' => 'configuration preferences'], ['label' => __('New Invoice'), 'href' => route('invoices.index'), 'icon' => 'plus', 'kw' => 'create bill new', 'action' => true], ['label' => __('New Quote'), 'href' => route('quotes.index'), 'icon' => 'plus', 'kw' => 'create estimate new', 'action' => true], ['label' => __('New Customer'), 'href' => route('people.index'), 'icon' => 'plus', 'kw' => 'create client new', 'action' => true], ]; // Household-only workspace: surface household destinations instead of the // business ones (no customers / invoices / jobs in here). if (Auth::user()?->currentTeam?->settings?->household_enabled) { $items = [ ['label' => __('Overview'), 'href' => route('household.dashboard'), 'icon' => 'home', 'kw' => 'home dashboard'], ['label' => __('Income'), 'href' => route('household.income.index'), 'icon' => 'currency-dollar', 'kw' => 'salary side hustle pay'], ['label' => __('Loans'), 'href' => route('household.loans.index'), 'icon' => 'credit-card', 'kw' => 'debt repayment borrow'], ['label' => __('Expenses'), 'href' => route('household.expenses.index'),'icon' => 'receipt-percent', 'kw' => 'spending costs bills'], ['label' => __('Accounts'), 'href' => route('household.accounts.index'),'icon' => 'banknotes', 'kw' => 'pots wallet bank cash'], ['label' => __('Members'), 'href' => route('household.members.index'), 'icon' => 'users', 'kw' => 'people family participants'], ['label' => __('Insights'), 'href' => route('household.reports.index'), 'icon' => 'chart-bar', 'kw' => 'reports analytics fairness'], ['label' => __('Settings'), 'href' => route('settings.index'), 'icon' => 'cog-6-tooth', 'kw' => 'configuration preferences'], ]; } $terms = array_map(fn ($i) => mb_strtolower($i['label'] . ' ' . $i['kw']), $items); $hrefs = array_map(fn ($i) => $i['href'], $items); @endphp
merge(['class' => 'relative']) }} >

{{ __('No matches found.') }}