Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor yearly forecast calculations to improve accuracy and clarity
- Updated the `resolve_yearly_forecast` function to correctly handle actual revenue tracking for the current month, ensuring accurate goal calculations. - Introduced a new variable `month_actual` to store realized revenue, enhancing the clarity of the calculations. - Adjusted the logic for discount calculations to reflect the actual revenue, improving the reliability of the forecasting process. These changes enhance the accuracy and reliability of yearly forecasting and revenue tracking.
- Loading branch information