@extends('layouts.app') @section('title','Overview') @section('content') @php $names=['products'=>'Products','inventory'=>'Inventory','sales'=>'Sales','customers'=>'Customers','purchasing'=>'Purchasing','finance'=>'Finance','hr'=>'HR & Payroll','fleet'=>'Fleet & Field','reports'=>'Reports','settings'=>'Settings']; $names=array_filter($names,fn($label,$key)=>\App\Support\AccessControl::moduleAllowed(auth()->id(),$key),ARRAY_FILTER_USE_BOTH); $visibleWidgets=json_decode(\Illuminate\Support\Facades\DB::table('user_workspace_preferences')->where('user_id',auth()->id())->value('widgets')??'null',true)??['favorites','activity','alerts']; $favorites=array_values(array_filter(\App\Models\UserFavorite::where('user_id',auth()->id())->orderBy('position')->orderBy('id')->pluck('module_key')->all(),fn($key)=>\App\Support\AccessControl::moduleAllowed(auth()->id(),$key))); $icons=['products'=>'📦','inventory'=>'▣','sales'=>'🛒','customers'=>'♙','purchasing'=>'▤','finance'=>'◉','hr'=>'♧','fleet'=>'↗','reports'=>'▥','settings'=>'⚙']; $colors=['products'=>'#ee8b29','inventory'=>'#4e91cf','sales'=>'#2674e7','customers'=>'#12a2aa','purchasing'=>'#7755d3','finance'=>'#13a46d','hr'=>'#d4476a','fleet'=>'#4e84ba','reports'=>'#ce891e','settings'=>'#667a92']; @endphp
Access your business applications and essential information.
Select ☆ beside an application to pin it here. Favorites are saved to your account.
@endifReal transactions and audit events will appear here after the business modules are built.
Stock, invoice, and workflow alerts will appear when enabled.
Context-aware actions will be enabled with module permissions.