• Dashboard
  • @if(auth()->user()->role=='super-admin' || auth()->user()->role=='admin')
  • is('backend/applications*') || request()->is('backend/manage-users*') || request()->is('backend/locations*') || request()->is('location-detail/*') || request()->is('backend/equip-categories*') || request()->is('backend/billing') || request()->is('backend/report-dashboard') || request()->is('backend/studio-booking-revenue') || request()->is('backend/rental-booking-revenue') || request()->is('backend/people-booking-revenue') || request()->is('backend/guest-booking-revenue') || request()->is('backend/location-revenue')) class="nav-link" aria-expanded="true" @else class="nav-link collapsed" aria-expanded="false" @endif> Admin
      is('backend/applications*') || request()->is('backend/manage-users*') || request()->is('backend/locations*') || request()->is('location-detail/*') || request()->is('backend/equip-categories*') || request()->is('backend/billing') || request()->is('backend/report-dashboard') || request()->is('backend/studio-booking-revenue') || request()->is('backend/rental-booking-revenue') || request()->is('backend/people-booking-revenue') || request()->is('backend/guest-booking-revenue') || request()->is('backend/location-revenue'))class="nav-content collapse show"@else class="nav-content collapse" @endif>
    • Applications
    • Manage users
    • Locations
    • Equipment Categories
    • Billing
    • Reports
        is('backend/report-dashboard') || request()->is('backend/studio-booking-revenue') || request()->is('backend/rental-booking-revenue') || request()->is('backend/people-booking-revenue') || request()->is('backend/guest-booking-revenue') || request()->is('backend/location-revenue')) class="nav-content collapse show" @else class="nav-content collapse" @endif>
      • Dashboard
      • Location
      • Studio
      • Rental
      • People
      • Guest
  • @if(session()->has('user_locations')) @foreach(session()->get('user_locations') as $loc)
  • is('backend/location-landing-page/'.$loc->id) || request()->is('backend/studio-landing-page/'.$loc->id.'*') || request()->is('backend/local-studios/'.$loc->id) || request()->is('backend/manage-news/'.$loc->id) || request()->is('backend/news/'.$loc->id.'*') || request()->is('backend/events/'.$loc->id.'/*') || request()->is('backend/manage-events/'.$loc->id) || request()->is('backend/schedule-location/'.$loc->id) || request()->is('backend/studio-list/'.$loc->id.'*') || request()->is('backend/allevents/'.$loc->id) || request()->is('backend/team/'.$loc->id) || request()->is('backend/rentals/'.$loc->id) || request()->is('backend/equipment-schedule/'.$loc->id.'*') || request()->is('backend/event-detail/'.$loc->id.'*') || request()->is('backend/event-responded/'.$loc->id.'*') || request()->is('backend/upcoming-guests/'.$loc->id)) class="nav-link" aria-expanded="true" @else class="nav-link collapsed" aria-expanded="false" @endif> {{$loc->location}}
      is('backend/location-landing-page/'.$loc->id) || request()->is('backend/studio-landing-page/'.$loc->id.'*') || request()->is('backend/local-studios/'.$loc->id) || request()->is('backend/manage-news/'.$loc->id) || request()->is('backend/news/'.$loc->id.'*') || request()->is('backend/events/'.$loc->id.'/*') || request()->is('backend/manage-events/'.$loc->id) || request()->is('backend/schedule-location/'.$loc->id) || request()->is('backend/studio-list/'.$loc->id.'*') || request()->is('backend/allevents/'.$loc->id) || request()->is('backend/team/'.$loc->id) || request()->is('backend/rentals/'.$loc->id) || request()->is('backend/equipment-schedule/'.$loc->id.'*') || request()->is('backend/event-detail/'.$loc->id.'*') || request()->is('backend/event-responded/'.$loc->id.'*') || request()->is('backend/upcoming-guests/'.$loc->id) || request()->is('backend/cms/*')) class="nav-content collapse show"@else class="nav-content collapse" @endif> @if($loc->location=='Global')
    • CMS
        is('backend/cms/*')) class="nav-content collapse show" @else class="nav-content collapse" @endif>
      • Home
      • Equipments
      • Events
      • Locations
      • News
      • Our Partners
      • People
      • Services
      • Service Detail
      • Studios
      • Studio Art
      • Studio Fashion
      • Studio Music
      • Studio Photography
      • Studio Video
    • @endif
    • is('backend/location-landing-page/'.$loc->id) || request()->is('backend/studio-landing-page/'.$loc->id.'*') || request()->is('backend/local-studios/'.$loc->id) || request()->is('backend/manage-news/'.$loc->id) || request()->is('backend/news/'.$loc->id.'*') || request()->is('backend/events/'.$loc->id.'/*') || request()->is('backend/manage-events/'.$loc->id)) class="nav-link" @else class="nav-link collapsed" @endif> Content editing
        is('backend/location-landing-page/'.$loc->id) || request()->is('backend/studio-landing-page/'.$loc->id.'*') || request()->is('backend/local-studios/'.$loc->id) || request()->is('backend/manage-news/'.$loc->id) || request()->is('backend/news/'.$loc->id.'*') || request()->is('backend/events/'.$loc->id.'/*') || request()->is('backend/manage-events/'.$loc->id))class="nav-content collapse show"@else class="nav-content collapse" @endif>
      • is('backend/location-landing-page/'.$loc->id))class="active"@endif> Location
      • is('backend/local-studios/'.$loc->id) || request()->is('backend/studio-landing-page/'.$loc->id.'*'))class="active"@endif> Studios
      • is('backend/events/'.$loc->id.'/*') || request()->is('backend/manage-events/'.$loc->id))class="active"@endif> Events
      • is('backend/news/'.$loc->id.'*') || request()->is('backend/manage-news/'.$loc->id))class="active"@endif> News
    • is('backend/schedule-location/'.$loc->id) || request()->is('backend/studio-list/'.$loc->id.'*') || request()->is('backend/allevents/'.$loc->id) || request()->is('backend/team/'.$loc->id) || request()->is('backend/rentals/'.$loc->id) || request()->is('backend/equipment-schedule/'.$loc->id.'*') || request()->is('backend/event-detail/'.$loc->id.'*') || request()->is('backend/event-responded/'.$loc->id.'*')) class="nav-link" @else class="nav-link collapsed" @endif> Managing
        is('backend/schedule-location/'.$loc->id) || request()->is('backend/studio-list/'.$loc->id.'*') || request()->is('backend/allevents/'.$loc->id) || request()->is('backend/team/'.$loc->id) || request()->is('backend/rentals/'.$loc->id) || request()->is('backend/equipment-schedule/'.$loc->id.'*') || request()->is('backend/event-detail/'.$loc->id.'*') || request()->is('backend/event-responded/'.$loc->id.'*') || request()->is('backend/upcoming-guests/'.$loc->id))class="nav-content collapse show"@else class="nav-content collapse" @endif>
      • is('backend/upcoming-guests/'.$loc->id))class="active"@endif> Upcoming Guests
      • is('backend/schedule-location/'.$loc->id))class="active"@endif> Location
      • is('backend/studio-list/'.$loc->id.'*')) class="nav-link" @else class="nav-link collapsed" @endif> Studios
          is('backend/studio-list/'.$loc->id.'*') )class="nav-content collapse show"@else class="nav-content collapse" @endif> @if($loc->Studio) @foreach($loc->Studio as $st)
        • is('backend/studio-list/'.$loc->id.'/'.$st->id)) class="active"@endif> {{$st->name}}
        • @endforeach @endif
      • is('backend/allevents/'.$loc->id) || request()->is('backend/event-detail/'.$loc->id.'*') || request()->is('backend/event-responded/'.$loc->id.'*') )class="active"@endif>Events
      • is('backend/rentals/'.$loc->id) || request()->is('backend/equipment-schedule/'.$loc->id.'*'))class="active"@endif>Rentals
  • @endforeach @endif @else @if(session()->has('user_locations')) @foreach(session()->get('user_locations') as $loc)
  • is('backend/location-landing-page/'.$loc->id) || request()->is('backend/studio-landing-page/'.$loc->id.'*') || request()->is('backend/local-studios/'.$loc->id) || request()->is('backend/manage-news/'.$loc->id.'*') || request()->is('backend/news/'.$loc->id.'*') || request()->is('backend/events/'.$loc->id.'/*') || request()->is('backend/manage-events/'.$loc->id) || request()->is('backend/schedule-location/'.$loc->id) || request()->is('backend/studio-list/'.$loc->id.'*') || request()->is('backend/allevents/'.$loc->id) || request()->is('backend/team/'.$loc->id) || request()->is('backend/rentals/'.$loc->id) || request()->is('backend/equipment-schedule/'.$loc->id.'*') || request()->is('backend/event-detail/'.$loc->id.'*') || request()->is('backend/event-responded/'.$loc->id.'*')) class="nav-link" aria-expanded="true" @else class="nav-link collapsed" aria-expanded="false" @endif> {{$loc->location}}
      is('backend/location-landing-page/'.$loc->id) || request()->is('backend/studio-landing-page/'.$loc->id.'*') || request()->is('backend/local-studios/'.$loc->id) || request()->is('backend/manage-news/'.$loc->id.'*') || request()->is('backend/news/'.$loc->id.'*') || request()->is('backend/events/'.$loc->id.'/*') || request()->is('backend/manage-events/'.$loc->id) || request()->is('backend/schedule-location/'.$loc->id) || request()->is('backend/studio-list/'.$loc->id.'*') || request()->is('backend/allevents/'.$loc->id) || request()->is('backend/team/'.$loc->id) || request()->is('backend/rentals/'.$loc->id) || request()->is('backend/equipment-schedule/'.$loc->id.'*') || request()->is('backend/event-detail/'.$loc->id.'*') || request()->is('backend/event-responded/'.$loc->id.'*'))class="nav-content collapse show"@else class="nav-content collapse" @endif>
    • is('backend/location-landing-page/'.$loc->id) || request()->is('backend/studio-landing-page/'.$loc->id.'*') || request()->is('backend/local-studios/'.$loc->id) || request()->is('backend/manage-news/'.$loc->id.'*') || request()->is('backend/news/'.$loc->id.'*') || request()->is('backend/events/'.$loc->id.'/*') || request()->is('backend/manage-events/'.$loc->id)) class="nav-link" @else class="nav-link collapsed" @endif> Content editing
        is('backend/location-landing-page/'.$loc->id) || request()->is('backend/studio-landing-page/'.$loc->id.'*') || request()->is('backend/local-studios/'.$loc->id) || request()->is('backend/manage-news/'.$loc->id.'*') || request()->is('backend/news/'.$loc->id.'*') || request()->is('backend/events/'.$loc->id.'/*') || request()->is('backend/manage-events/'.$loc->id))class="nav-content collapse show content-editing-nav-{{$loc->id}}"@else class="nav-content collapse content-editing-nav-{{$loc->id}}" @endif> @if(str_contains(Session::get('page_access')[$loc->id],'location-landing-page'))
      • is('backend/location-landing-page/'.$loc->id))class="active"@endif> Location
      • @endif @if(str_contains(Session::get('page_access')[$loc->id],'studio-landing-page') || str_contains(Session::get('page_access')[$loc->id],'local-studios'))
      • is('backend/local-studios/'.$loc->id) || request()->is('backend/studio-landing-page/'.$loc->id.'*'))class="active"@endif> Studios
      • @endif @if(str_contains(Session::get('page_access')[$loc->id],'events') || str_contains(Session::get('page_access')[$loc->id],'manage-events'))
      • is('backend/events/'.$loc->id.'/*') || request()->is('backend/manage-events/'.$loc->id))class="active"@endif> Events
      • @endif @if(str_contains(Session::get('page_access')[$loc->id],'news') || str_contains(Session::get('page_access')[$loc->id],'manage-news'))
      • is('backend/news/'.$loc->id.'*') || request()->is('backend/manage-news/'.$loc->id))class="active"@endif> News
      • @endif
    • is('backend/schedule-location/'.$loc->id) || request()->is('backend/studio-list/'.$loc->id.'*') || request()->is('backend/allevents/'.$loc->id) || request()->is('backend/team/'.$loc->id) || request()->is('backend/rentals/'.$loc->id) || request()->is('backend/equipment-schedule/'.$loc->id.'*') || request()->is('backend/event-detail/'.$loc->id.'*') || request()->is('backend/event-responded/'.$loc->id.'*')) class="nav-link" @else class="nav-link collapsed" @endif> Managing
        is('backend/schedule-location/'.$loc->id) || request()->is('backend/studio-list/'.$loc->id.'*') || request()->is('backend/allevents/'.$loc->id) || request()->is('backend/team/'.$loc->id) || request()->is('backend/rentals/'.$loc->id) || request()->is('backend/equipment-schedule/'.$loc->id.'*') || request()->is('backend/event-detail/'.$loc->id.'*') || request()->is('backend/event-responded/'.$loc->id.'*'))class="nav-content collapse show managing-nav-{{$loc->id}}"@else class="nav-content collapse managing-nav-{{$loc->id}}" @endif> @if(str_contains(Session::get('page_access')[$loc->id],'upcoming-guests'))
      • is('backend/upcoming-guests/'.$loc->id))class="active"@endif> Upcoming Guests
      • @endif @if(str_contains(Session::get('page_access')[$loc->id],'schedule-location'))
      • is('backend/schedule-location/'.$loc->id))class="active"@endif> Location
      • @endif @if(str_contains(Session::get('page_access')[$loc->id],'studio-list'))
      • is('backend/studio-list/'.$loc->id.'*')) class="nav-link" @else class="nav-link collapsed" @endif> Studios
          is('backend/studio-list/'.$loc->id.'*') )class="nav-content collapse show"@else class="nav-content collapse" @endif> @if($loc->Studio) @php $studio_pages = explode(',',Session::get('page_access')[$loc->id]); @endphp @foreach($loc->Studio as $st) @if(in_array('studio-list',$studio_pages) || in_array('studio-list/'.$loc->id.'/'.$st->id,$studio_pages))
        • is('backend/studio-list/'.$loc->id.'/'.$st->id)) class="active"@endif> {{$st->name}}
        • @endif @endforeach @endif
      • @endif @if(str_contains(Session::get('page_access')[$loc->id],'allevents') || str_contains(Session::get('page_access')[$loc->id],'event-detail') || str_contains(Session::get('page_access')[$loc->id],'event-responded'))
      • is('backend/allevents/'.$loc->id) || request()->is('backend/event-detail/'.$loc->id.'*') || request()->is('backend/event-responded/'.$loc->id.'*') )class="active"@endif>Events
      • @endif @if(str_contains(Session::get('page_access')[$loc->id],'rentals') || str_contains(Session::get('page_access')[$loc->id],'equipment-schedule'))
      • is('backend/rentals/'.$loc->id) || request()->is('backend/equipment-schedule/'.$loc->id.'*'))class="active"@endif>Rentals
      • @endif
  • @endforeach @endif @endif