@if(auth::user()->can("backend.home") || auth::user()->role_id == 1)
  • {{ trans('general.dashboard') }}
  • @endif @if(auth::user()->can(["properties.index","locations.index","zoneLocations.index"]) || auth::user()->role_id == 1)
  • {{ trans('backend.theads') }}
      @if(auth::user()->can("properties.index") || auth::user()->role_id == 1)
    • {{ trans('backend.properties') }} {{ $propertyCount }}
    • @endif @if(auth::user()->can("industries.index") || auth::user()->role_id == 1)
    • {{ trans('backend.industries') }} {{ $industriesCount }}
    • @endif @if(auth::user()->can("zones.index") || auth::user()->role_id == 1)
    • {{ trans('backend.zones') }} {{ $zonesCount }}
    • @endif @if(auth::user()->can("branches.index") || auth::user()->role_id == 1)
    • فروع الشركات {{ $branchesCount }}
    • @endif
  • @endif @if(auth::user()->can(["plans.index","agents.index","projects.index","sliders.index","ads.index","pages.index","reviews.index"]) || auth::user()->role_id == 1)
  • {{ trans('general.content') }}
      @if(auth::user()->can("plans.index") || auth::user()->role_id == 1) @endif @if(auth::user()->can("agents.index") || auth::user()->role_id == 1) @endif @if(auth::user()->can("projects.index") || auth::user()->role_id == 1) @endif @if(auth::user()->can("ads.index") || auth::user()->role_id == 1)
    • {{ trans('general.ads') }} {{ $adsCount }}
    • @endif @if(auth::user()->can("sliders.index") || auth::user()->role_id == 1) @endif @if(auth::user()->can("pages.index") || auth::user()->role_id == 1)
    • {{ trans('general.pages') }} {{ $pagesCount }}
    • @endif @if(1!=1 && (auth::user()->can("news.index") || auth::user()->role_id == 1))
    • {{ trans('general.news') }} {{ $newsCount }}
    • @endif @if(false && (auth::user()->can("reviews.index") || auth::user()->role_id == 1))
    • {{ trans('general.reviews') }}
    • @endif
    • Site Content
        @if(auth::user()->can("newsletter.index") || auth::user()->role_id == 1)
      • النشره البريديه {{ $newsletterCount }}
      • @endif @if(auth::user()->can("meta_tag.index") || auth::user()->role_id == 1)
      • {{ trans('general.meta_tag') }} {{ $metaCount }}
      • @endif @if(auth::user()->can("contactus.index") || auth::user()->role_id == 1)
      • اتصل بنا {{ $contactusCount }}
      • @endif @if(auth::user()->can("ask_guide.index") || auth::user()->role_id == 1)
      • اطلب الدليل {{ $askguideCount }}
      • @endif @if(auth::user()->can("advertise.index") || auth::user()->role_id == 1)
      • إعلن معنا {{ $advertiseCount }}
      • @endif @if(auth::user()->can("payment.index") || auth::user()->role_id == 1)
      • عناصر الشراء {{ $paymentCount }}
      • @endif @if(auth::user()->can("logo.index") || auth::user()->role_id == 1)
      • لوجو الموقع
      • @endif @if(auth::user()->can("logo.index") || auth::user()->role_id == 1)
      • Favicon
      • @endif @if(auth::user()->can("package.index") || auth::user()->role_id == 1)
      • Package
      • @endif @if(auth::user()->can("package.index") || auth::user()->role_id == 1)
      • Tags
      • @endif @if(auth::user()->can("translates.index") || auth::user()->role_id == 1)
      • Translate
      • @endif
  • @endif @if(auth::user()->can(["users.index","setting.index","roles.index"]) || auth::user()->role_id == 1)
  • {{ trans('general.settings') }}
      @if(auth::user()->can("reviews.index") || auth::user()->role_id == 1)
    • {{ trans('general.users') }} {{ $usersCount }}
    • @endif @if(auth::user()->can("roles.index") || auth::user()->role_id == 1)
    • {{ trans('backend.roles and permissions') }}
    • @endif @if(auth::user()->can("reviews.index") || auth::user()->role_id == 1)
    • {{ trans('general.settings') }}
    • @endif @if(auth::user()->role_id == 1)
    • {{ trans('backend.fields.activitylog') }}
    • @endif
  • @endif