@extends('layouts.app') @section('title','الشقق') @section('content')
بيانات الوحدات

الشقق

ابحث وصفِّ الوحدات حسب المبنى وحالة الإيجار أو التمليك.

+ إضافة شقة
مسح
@forelse($apartments as $apartment) @empty@endforelse
المبنىالشقةالدورحالة الوحدةالمسؤول الحالي
{{ $apartment->building->name }}{{ $apartment->number }}{{ $apartment->floor ?: '—' }}{{ $apartment->occupancy_type==='rental'?'إيجار':'تمليك' }}{{ $apartment->currentOccupancy?->person_name ?: '—' }}تعديل
لا توجد وحدات مطابقة للفلتر.
{{ $apartments->links() }} @endsection