Skip to main content

Changelog: Aryan - 2026-06-04

Daily Changelog - Waste Vantage Legacy

Overview

Today's changes by Aryan focus on unifying the contract creation layouts across all bin types. This includes completing the contract creation checkout screens for Rental Bins, applying the layout format across all create-new blade files, and modifying the order repository layer to gracefully handle optional contract period fields when saving contracts. Additionally, the order discount type configuration was corrected.


Added

  • Layout Unification for Bins (resources/views/admin/front-bins/create-new.blade.php, resources/views/admin/rental-bins/create-new.blade.php, resources/views/admin/trash-bags/create-new.blade.php, resources/views/admin/wheel-bins/create-new.blade.php)
    • Applied the new unified contract layout structure to the frontlift bins, rental bins, trash bags, and wheelie bins creation pages.

Changed

  • Order Rental Repository Store Logic (app/Repositories/OrderRentalRepository.php)
    • Updated the store() method to verify if the contract_periode key is set in the incoming order payload before querying the database, preventing potential null reference/lookup exceptions.
  • Contract Billing Layout Configuration (resources/js/components/contracts/ContractCreate.vue)
    • Adjusted the default state of sameAsCustomer to false for billing form synchronization.
  • Contract UI Components integration (resources/js/components/contracts/ContractBinServices.vue, resources/js/components/contracts/ContractOrderPreview.vue)
    • Adapted the bin services listing table and order preview summary card logic to fully integrate with the unified contract checkout layout.

Fixed

  • Order Discount Type configuration (resources/js/components/contracts/ContractCreate.vue)
    • Fixed order discount type value from 'Percentage (%)' to 'percent' to align with backend validation structures.

Removed

  • None.