@extends('layouts.app') @section('title', 'Managed Rentals') @section('page-title', 'Managed Rentals') @section('content') {{-- Summary cards --}}
No rental agreements found matching the selected filters.
| Property | Owner | Start Date | @include('partials._sort_th', ['column' => 'agreement_end_date', 'label' => 'End Date']) @include('partials._sort_th', ['column' => 'monthly_rent', 'label' => 'Monthly Rent', 'thClass' => 'text-end'])Days Left | Assigned Staff | Collection Status | Actions | |||
|---|---|---|---|---|---|---|---|---|---|
|
@if($client)
{{ $client->full_name }}
@else
{{ $rental->client_name ?: '—' }}
@endif
@if($client && $rental->client_name && $rental->client_name !== $client->full_name)
{{ $rental->client_name }}
@endif
|
@if($rental->property)
{{ $rental->property->title }}
@if($rental->property->city)
{{ $rental->property->city }}
@endif
@else
—
@endif
|
{{ $rental->owner_name ?: '—' }} | {{ $rental->agreement_start_date ? $rental->agreement_start_date->format('d M Y') : '—' }} | {{ $rental->agreement_end_date ? $rental->agreement_end_date->format('d M Y') : '—' }} | {{ $rental->monthly_rent ? '₹ ' . number_format((float) $rental->monthly_rent, 0) : '—' }} | @if($daysLeft !== null) {{ $isExpired ? abs($daysLeft) . 'd ago' : $daysLeft . 'd' }} @else — @endif | {{ $staff ? $staff->name : '—' }} | {{-- Collection Status: Not Managed until the Managed Rental module is built --}} Not Managed | @if($lead) @endif @if($rental->document_path && $lead) @endif |