@foreach($menus as $menu)
@include('admin.partials.footer_menu',['menu'=>$menu])
@foreach(\App\FooterMenu::where('parent_id',$menu->id)->orderBy('sort_order')->get() as $subMenu)
@include('admin.partials.footer_menu',['menu'=>$subMenu])
@endforeach
@endforeach