@extends('layouts/default')
{{-- Page title --}}
@section('title')
{{ trans('general.location') }}:
{{ $location->name }}
@parent
@stop
@section('header_right')
{{ trans('admin/locations/table.update') }}
@stop
{{-- Page content --}}
@section('content')
@if ($location->image!='')
@endif
@if ($location->address!='')
- {{ $location->address }}
@endif
@if ($location->address2!='')
- {{ $location->address2 }}
@endif
@if (($location->city!='') || ($location->state!='') || ($location->zip!=''))
- {{ $location->city }} {{ $location->state }} {{ $location->zip }}
@endif
@if (($location->manager))
- {{ trans('admin/users/table.manager') }}: {!! $location->manager->present()->nameUrl() !!}
@endif
@if (($location->parent))
- {{ trans('admin/locations/table.parent') }}: {!! $location->parent->present()->nameUrl() !!}
@endif
@if (($location->state!='') && ($location->country!='') && (config('services.google.maps_api_key')))
@endif
@stop
@section('moar_scripts')
@include ('partials.bootstrap-table', [
'exportFile' => 'locations-export',
'search' => true
])
@stop