Skip to content

Phase 2 — Leasing & Occupancy

Latest

Choose a tag to compare

@iRaed iRaed released this 19 Mar 02:41

🏘️ Phase 2: Leasing & Occupancy — التأجير وإشغال الوحدات

Backend | الباكند:

  • LeasingService: دورة حياة العقد الكاملة (مسودة → موافقة → نشط → تجديد / إنهاء / انتهاء)
  • SmartPricingEngine: محرك تسعير ذكي يقترح الإيجار بناءً على السوق الداخلي وأيام الشغور
  • PaymentScheduleGenerator: توليد جدول دفعات تلقائي عند تفعيل العقد
  • LeaseController: 8 API endpoints + Timeline كامل للعقد
  • VacancyController: لوحة شواغر + خريطة إشغال + تقرير الإيرادات المفقودة
  • 4 Form Requests with Arabic validation messages
  • LeaseResource: full JSON resource with Arabic labels & computed fields
  • 5 Events: LeaseCreated, LeaseActivated, LeaseRenewed, LeaseTerminated, LeaseExpired
  • 2 Listeners + LeasingServiceProvider
  • ProcessLeaseStatuses: daily scheduled job for auto status updates

Frontend | الفرونت إند (Vue 3):

  • Index.vue: قائمة العقود مع فلاتر + بطاقات ملخص + تنبيهات انتهاء
  • Create.vue: Wizard بـ 4 خطوات مع اقتراح السعر الذكي
  • Show.vue: تفاصيل العقد + Timeline + جدول دفعات + ملخص مالي
  • Vacancy.vue: لوحة الشواغر مع حساب الإيرادات المفقودة
  • ActivateModal / RenewModal / TerminateModal