@extends('layouts.app') @section('title', 'Landlords') @section('heading', 'Landlords') @section('subheading', 'Name variants are matched automatically, so the same landlord is not stored twice') @section('content')
| Name | Contact | Tenancies | |
|---|---|---|---|
|
{{ $landlord->name }}
@if ($landlord->registration_no)
{{ $landlord->registration_no }}
@endif
|
{{ $landlord->contact_person ?? '—' }}
@if ($landlord->contact_phone || $landlord->contact_email)
{{ collect([$landlord->contact_phone, $landlord->contact_email])->filter()->implode(' · ') }}
@endif
|
@if ($landlord->tenancies_count > 0) {{ $landlord->tenancies_count }} @else 0 @endif | @if ($landlord->tenancies_count === 0) @endif |
| No landlords found. | |||