123456789101112131415161718192021222324252627282930313233 |
- <?php
- namespace App\View\Components;
- use App\Helpers\Utils;
- use App\Models\Parameter\Modal;
- use Illuminate\View\Component;
- class SortMenuComponent extends Component
- {
- /**
- * Create a new component instance.
- *
- * @return void
- */
- public function __construct()
- {
- }
- /**
- * Get the view / contents that represent the component.
- *
- * @return \Illuminate\Contracts\View\View|\Closure|string
- */
- public function render()
- {
- $sortMenuPage = Utils::getSortMenu()['Page'] ?? [];
- return view('components.sort-menu-component', compact('sortMenuPage'))
- ->with('codeTitle', [ "sort_type('sort-type')" ]);
- }
- }
|