@include('landlord_layouts.header')
@include('landlord_layouts.navbar')
@include('landlord_layouts.topbar')

@if(session()->has('message'))
{{ session()->get('message') }}
@else
In order to lower your plan, you must deactivate {{(count($oldPropertyUnits) - $unit_number)}} of {{count($oldPropertyUnits)}} registered units. Please select the units you wish to deactivate.
@endif
@csrf
@if(count($propertyUnits) > 0) @foreach($propertyUnits as $unit) @if(count($tenants) > 0) @if(in_array($unit->id, array_column($tenants->toArray(), 'property_unit_id'))) @foreach($tenants as $te) @if($te->property_unit_id == $unit->id) @endif @endforeach @else @endif @else @endif @endforeach @endif
Property name Street Address Unit Tenant Deactivate
@foreach($property as $prop) @if($prop->id == $unit->property_id) {{$prop->property_name}} @endif @endforeach @foreach($property as $prop) @if($prop->id == $unit->property_id) {{$prop->address}} @endif @endforeach {{$unit->unit_name}}{{$te->first_name." ".$te->last_name}}VacantVacant
Cancel
@include('landlord_layouts.footer')
@include('landlord_layouts.script')