orderBy('name')->get(); } function getCategories() { return \App\Models\Category::where('enabled', true)->where('parent_id', null)->orderBy('name')->get(); } function formatPrice($price) { return "€ " . number_format($price, 2, ",", "."); }