Summary
New safeguards prevent the accidental deletion or inactivation of costs that are currently linked to guests or financial records, protecting data integrity.


Issue Details
In Planner 2.0, the front-end interface lacked the validation logic present in other parts of the system. This meant it was possible for a user to attempt to delete or inactivate costs even if they had active guests or existing bills associated with them. Performing these actions without checking for dependencies could lead to orphaned records and significant discrepancies in trip budgeting and guest accounting.


Resolution
The system now performs a comprehensive validation check before allowing any status changes or deletions to a cost. You will receive a warning message if you attempt to delete, inactivate, or cancel a cost that is associated with active guests or existing bills. The action will be blocked until the associated records are addressed, ensuring that financial and guest data remains consistent.