@extends('app_client') @section('title', ' Resident Perks | '.$property->name) @section('content')
@if($perks->count())
@if($main_category)
@endif
@if($perk_categories->count()) @foreach($perk_categories as $category)
    @foreach($category->subcategories->filter(function($item) use ($property) { return $item->perk_category_is_in_property($property); }) as $subcategory)
  • {{ $subcategory->name }}
  • @endforeach
@endforeach @endif
Loading perks ...
@{{ perk.parent.directory ? perk.parent.directory.name : perk.parent.custom_directory }}

@{{ perk.title }}

View
There are no resident perks.
@else
{!! $empty !!}
@endif
@include('client.partials.modal.perk') @endsection @section('script') @endsection