@extends('app_client') @section('title', $title.' | '.$property->name) @section('content')
@if($directory)

{{ $directory->name }}

{{ $directory->categories->last()->name }}

    @if($directory->hyperlink)
  • @endif @if($directory->address)
  • {{ $directory->address }}
  • @endif @if($directory->phone && $property->slug == 'lcn')
  • {{ $directory->phone }}
  • @endif @if($directory->agent && $property->slug == 'lcn')
  • @if($directory->agent->first_name && $directory->agent->last_name)
    {{ $directory->agent->first_name.' '.$directory->agent->last_name }}
    @if($directory->agent->position)

    {{ $directory->agent->position }}

    @endif
    @endif @if($directory->agent->phone || $directory->agent->mobile_phone)

    @if($directory->agent->phone) {{ $directory->agent->phone }} @endif @if($directory->agent->phone && $directory->agent->mobile_phone) / @endif @if($directory->agent->mobile_phone) {{ $directory->agent->mobile_phone }} @endif

    @endif @if($directory->agent->email)

    {{ $directory->agent->email }} @if($directory->agent->alternative_email) {{ ' / ' }}{{ $directory->agent->alternative_email }} @endif

    @endif
  • @endif
@if($directory->perks->filter(function($item) { return $item->active; })->count())
{{ $property->slug == 'lcn' ? 'Concierge' : 'Resident' }} Perks
@foreach($directory->perks->filter(function($item) { return $item->active; }) as $perk)
@if($perk->parent->image)
@endif
{!! $perk->description !!}
@endforeach
@endif
{!! $directory->info->description !!}
@if($directory->video)
@endif @if($directory->file)

Attached file

View file
@endif
@if($directory->lat && $directory->lng)
@endif @if($directory->images->count())
@if(strpos(strtolower($_SERVER['HTTP_USER_AGENT']),"iphone")) @if(!strpos(strtolower($_SERVER['HTTP_USER_AGENT']),"safari")) @foreach($directory->images as $key => $image) @endforeach @endif @else @foreach($directory->images as $key => $image) @if($key == 0) @elseif($key == 1) @else @endif @endforeach @endif
@endif

@else

{{ $perk->custom_directory }}

{{ $perk->categories->last()->name }}

@if($perk->info->count())
@if ($property->slug == 'lcn') Concierge Perks @elseif ($property->slug == 'ficlub') Member Perks @else Residents Perks @endif
@if($perk->image)
@endif
{!! $perk->info->description !!}
@endif
@if($perk && $perk->info->request)
@endif @endif
@include('client.partials.modal.directory') @include('client.partials.modal.perk') @endsection @section('script') @if($directory && $directory->lat && $directory->lng) @endif @if($directory && $directory->lat && $directory->lng) @endif @endsection