• {{ __('Admin') }}
  • {{ __('Locations') }}
  • @if(isset($_GET['rooms'])) Locations with Rooms @else Locations (All) @endif

    @if(isset($_GET['rooms'])) View all locations @else View JUST Rooms @endif {{-- @if(isset($_GET['room'])) @foreach($rooms as $location) @else @foreach($locations as $location) @endif --}} @foreach($locations as $location) @endforeach
    ID Name Address Room City State Country Postal Code Latitude Longitude
    {{$location->id}} {{$location->name}} {{$location->address}}
    {{$location->address2}}
    {{$location->room}} {{$location->city}} {{$location->state->state_code}} {{$location->country->iso_code}} {{$location->postal_code}} {{$location->latitude}} {{$location->longitude}}