Summary
Resolved calculation errors for blended rates and "Per Day" services, while stabilizing the "Replace Rates" and "From Day Applicable" features.
Issue Details
"Per Day" costs were calculating incorrectly on the final day; "Per Group" blended rates were failing to recognize multiple days; "Replace Rates" wasn't pulling the latest pricing; and toggling "From Day Applicable" for manual costs caused system crashes.
Resolution
Calculation Fixes: The logic now correctly includes the final day's rate for all "Per Day" non-accommodation costs and accurately calculates blended rates for all "Per Group" services.
Feature Stability: The Replace Rates functionality now accurately refreshes costs with the latest vendor rates, and the From Day Applicable toggle no longer causes errors when saving manual accommodation costs.