[ 'user' => $request->user()?->load('service', 'roles'), ], 'flash' => [ 'success' => fn () => $request->session()->get('success'), 'error' => fn () => $request->session()->get('error'), ], 'config' => [ 'statuts' => Commande::STATUTS_LABELS, 'priorites' => Commande::PRIORITES_LABELS, 'statuts_couleurs' => Commande::STATUTS_COULEURS, ], ]; } }