- Introduced helper functions to calculate working days while skipping weekends, improving the accuracy of date calculations in production planning. - Updated the logic for determining start and end dates based on lead time and production capacity, ensuring that weekend days are excluded from the calculations. - Refactored existing date calculation code in the `previewSchedule` and `generateSchedule` functions to utilize the new helper methods for better maintainability and clarity. (TASK: ERP-XXX)
1.2 KiB
Executable File
1.2 KiB
Executable File