@foreach(\Modules\Core\Entities\Menu::with('children')->where('flag',1)->where('is_parent',1)->orderBy('menu_order','asc')->get() as $parent) @if($parent->children->count()==0) @if(!empty($parent->permissions)) @can($parent->permissions)
  • {{$parent->name}}
  • @endcan @else
  • {{$parent->name}}
  • @endif @else @if(!empty($parent->permissions)) @can($parent->permissions)
  • {{$parent->name}}
      @foreach($parent->children as $child) @if(!empty($child->permissions)) @can($child->permissions)
    • {{$child->name}}
    • @endcan @else
    • {{$child->name}}
    • @endif @endforeach
  • @endcan @else
  • {{$parent->name}}
      @foreach($parent->children as $child) @if(!empty($child->permissions)) @can($child->permissions)
    • {{$child->name}}
    • @endcan @else
    • {{$child->name}}
    • @endif @endforeach
  • @endif @endif @endforeach
  • សាខា{{ get_branchName(Auth::user()->branch_id )->name_kh }}
  • @if(Auth::user()->unreadNotifications()->count()>0) {{ uth::user()->unreadNotifications()->count()}} @endif
    @if(Auth::user()->unreadNotifications()->count()>0) {{ uth::user()->unreadNotifications()->count()}} @endif {{trans_choice('core::general.notification',2)}} @foreach(Auth::user()->unreadNotifications as $notification)
    {{$notification->data['message']}} {{$notification->created_at->diffForHumans()}} @endforeach
  • @if(!empty(Auth::user()->photo)) User Image @else User profile picture @endif {{Auth::user()->full_name}}
    • @if(!empty(Auth::user()->photo)) User Image @else User profile picture @endif

      {{Auth::user()->full_name}}

    • {{trans_choice('core::general.profile',1)}} {{trans_choice('core::general.logout',1)}}
      {{csrf_field()}}