{{ $pageTitle }}
@if (getOption('app_card_data_show', 1) == 1)
@forelse ($tenants as $tenant)
@if ($tenant->lease_end_date !== '0000-00-00' && $tenant->lease_end_date !== null)
{{ __('Contact No.') }}
{{ __('Property') }}
{{ $tenant->property_name }}
{{ __('Unit') }}
{{ $tenant->unit_name }}
{{ __('Last Rent Paid') }}
{{ $tenant->last_payment ? date('Y-m-d', strtotime($tenant->last_payment)) : 'N/A' }}
{{ __('Current Rent') }}
{{ $tenant->general_rent }}
{{ __('Previous Due') }}
{{ currencyPrice($tenant->due) }}
{{ __('Lease Start Date') }}
{{ empty($tenant->lease_start_date) || $tenant->lease_start_date === '0000-00-00' ? 'Not Set' : \Carbon\Carbon::parse($tenant->lease_start_date)->format('jS F Y') }}
{{ __('Lease End Date') }}
{{ empty($tenant->lease_end_date) || $tenant->lease_end_date === '0000-00-00' ? 'Not Set' : \Carbon\Carbon::parse($tenant->lease_end_date)->format('jS F Y') }}
{{ __('Lease Ending in') }}