{{-- @php
$getMenu = \DB::select("SELECT * from menu m
join menu_privilege mp on mp.menu_uid = m.menu_uid
where m.is_active = true and m.has_children
and mp.p_menu = true and group_id = ".Auth::user()->role_id." order by m.seq");
@endphp --}}
{{-- @foreach ($getMenu as $p)
@php
$getSubMenu = \DB::select("SELECT * from menu m
join menu_privilege mp on mp.menu_uid = m.menu_uid
where m.is_active = true and m.has_children = false
and mp.group_id = ".Auth::user()->role_id." and mp.p_menu = true and m.menu_pid = ".$p->menu_uid." order by seq");
@endphp
@if($p->url)