Changelog: Aryan - 2026-06-23
Daily Changelog - Waste Vantage Legacy
Overview
Today's changes by Aryan focus on enhancing driver comparison logic on the runsheets assignment page. Key updates enable comparison of the same driver across multiple assignments or different job dates by introducing a combined driver and date comparison key.
Added
- Driver Comparison Key Helpers (
resources/js/components/runsheets/Assign2.vue)- Added
getDriverCompareKey(driver)helper to generate a composite key using both driver ID and job date (${driver.id}_${driver.job_date}). - Added
getDriverCompareName(driver)helper to dynamically append the formatted job date to the driver's name when the search range spans multiple dates.
- Added
Changed
- Driver Comparison Filtering and Lifecycle (
resources/js/components/runsheets/Assign2.vue)- Refactored
changeDriverComparasion,openDriverComparison, andformatDriversto key off composite driver-date identifiers instead of only driver IDs. - Updated driver tasks filter and mapping within the runsheet search response handler to use the composite key for comparing drivers.
- Refactored
Fixed
- None.
Removed
- None.