@extends('admin.layout.app') @section('title', 'Locations') @push('styles') @endpush @section('content')
Locations List
New Location
@foreach($locations as $index => $location) @endforeach
Actions User Type Name Address City State Postal Code Country Location Code Geo Location
@if($location->user) {{ ucfirst(str_replace('_', ' ', $location->user->user_type)) }} @elseif($location->endClient) End Client @else Unknown @endif @if($location->user) {{ $location->user->first_name }} {{ $location->user->last_name }} @if($location->user->company_name) ({{ $location->user->company_name }}) @endif @elseif($location->endClient) {{ $location->endClient->company_name }} ({{ $location->endClient->first_name }} {{ $location->endClient->last_name }}) @else N/A @endif {{ $location->address_line }} {{ $location->city }} {{ $location->state }} {{ $location->postal_code }} {{ $location->country }} {{ $location->location_code }} {{ $location->geo_location }}
@endsection @push('scripts') @endpush