{{-- resources/views/admin/properties/archived.blade.php --}} @extends('layouts.app') @section('content')

Archived Properties

@if (session('success'))
{{ session('success') }}
@endif
@if($properties->count() > 0) @foreach($properties as $property)
{{-- Display the cover image --}} @if($property->cover_image) {{ app()->getLocale() == 'en' ? $property->title_en : $property->title_jp }} @else {{ app()->getLocale() == 'en' ? $property->title_en : $property->title_jp }} @endif
{{ $property->title_en }}

{{ Str::limit($property->description_en, 150) }}

Location : {{ $property->location->name_en }}

@lang('strings.removed') : {{ date('d F Y', strtotime($property->archived_date)); }}

Read more
@endforeach @else

No archived properties found.

@endif
@endsection