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

Active Properties

@if (session('success'))
{{ session('success') }}
@endif
@if($properties->count() > 0) @foreach($properties as $property)
{{-- Display the cover image --}} {{-- Display the cover image --}} @if($property->cover_image) Cover Image @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 }}

Read more
@endforeach @else

No archived properties found.

@endif
{{ $properties->links() }}
@endsection @section('scripts') @endsection