Delete Reservation Order

The system allows you to delete unnecessary or unused reservation orders from the system.

Steps to Delete a Reservation Order

  • From the main menu, click on “Rental and Unit Management“.
  • Click on “Reservation Orders“.
  • Search for the desired reservation order in the list.
  • Click the delete icon next to it, or open it and click the “Delete” button from the view page.
  • Confirm the deletion.

How the System Works on Delete

  • The reservation order is permanently deleted from the system.
  • The system automatically redirects to the reservation orders list with the message “Reservation Order Deleted Successfully“.
  • The deletion is recorded in the general activity log.

Validation Rules

  • A reservation order cannot be deleted if it has an automatically generated invoice for the reservation period. The message “You cannot delete the reservation order that has a generated invoice” will appear with the invoice number as a clickable link to navigate to its view page.
    • Note: if the invoice was created manually using the create invoice button on the view page, the reservation order can be deleted normally.

قواعد التحقق

  • لا يمكن حذف أمر الحجز إذا كانت له فاتورة مُولَّدة تلقائياً عن فترة الحجز. تظهر رسالة: “لا يمكنك حذف أمر حجز له فاتورة مصدرة” مع رقم الفاتورة كرابط للانتقال إلى صفحة عرضها.
    • ملاحظة: إذا أُنشئت الفاتورة يدوياً من زر إنشاء فاتورة في صفحة العرض يمكن حذف أمر الحجز بشكل طبيعي.