@extends('dashboard.layouts.master') @section('title', $page_title) @section('css') @endsection @section('content')
@can('properties_allow_search') @endcan
( {{ $totalProperties }} ) إجمالي النتائج | ( {{ $count_all }} ) إجمالي العقارات
@if (count($properties) != 0)
@foreach ($properties as $row)
@can('properties_allow_copy_link') {{ $row->title }} @else {{ $row->title }} @endcan
{{ number_format($row->price) }} {!! currency_icon() !!}
@if ($row->area)
{{ $row->area }} م
@endif @if ($row->bedrooms)
{{ $row->bedrooms }}
@endif @if ($row->bathrooms)
{{ $row->bathrooms }}
@endif @if ($row?->neighborhood?->name)
{{ $row->city?->name . ' — ' . $row->neighborhood?->name }}
@endif

{{ Str::limit($row->description, 200) }}

{{ Str::limit($row->admin != null ? $row->admin->full_name : 'تم حذف المستخدم', 20) }} {{ parseTime($row->created_at) }} {{ $row->views_count }}

@can('properties_allow_copy_link') مشاركة @endcan @can('properties_edit') @endcan @can('properties_delete')
@method('DELETE') @csrf
@endcan {{-- @can('properties_activate_deactivate')
@csrf
@endcan --}}
@endforeach
@else @if (!empty($filters))

لا توجد نتائج للبحث

@else

لا يوجد عقارات في النظام

@endif @endif
{!! $properties->onEachSide(1)->links() !!}
@endsection @section('js') @endsection