Summary
Corrected a calculation error where the Digital Invoice and the internal system showed different balances due to the order in which payment schedule rules were applied.
Issue Details
In certain scenarios involving percentage-based payments and fixed category amounts, the Digital Invoice was calculating the remaining balance differently than the main system, leading to guest confusion regarding their total amount due.
Resolution
The calculation logic for Digital Invoices has been synchronized with the core system to ensure payment schedules, deposits, and category fees are applied in the correct sequence, resulting in consistent balances across all views.