{{ $pageTitle }}

@if (getOption('app_card_data_show', 1) == 1)
@endif
@if (getOption('app_card_data_show', 1) == 1) @forelse ($tenants as $tenant)

{{ $tenant->first_name }} {{ $tenant->last_name }}

{{ $tenant->email }}

{{ __('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) }}
{{ __('Status') }}
@if ($tenant->userStatus == USER_STATUS_DELETED) {{ __('Deleted') }} @else @if ($tenant->status == TENANT_STATUS_ACTIVE) {{ __('Active') }} @elseif($tenant->status == TENANT_STATUS_INACTIVE) {{ __('Inactive') }} @elseif($tenant->status == TENANT_STATUS_CLOSE) {{ __('Close') }} @else {{ __('Draft') }} @endif @endif
{{ __('View Details') }}
@empty

{{ __('Empty') }}

@endforelse @else
@endif