Skip to main content

Daily Changelog: Waste Vantage - May 20, 2026

This changelog summarizes the modifications, features, improvements, and bug fixes introduced on May 19 and May 20, 2026, on the staging-v2.19.76 branch.

🚀 Features

  • Bin Stock Management (Infinite Stock Toggle):
    • Added the is_have_stock flag to the waste_containers table (via migration 2026_05_19_165701_add_is_have_stock_on_waste_containers_table.php).
    • Provided an "Is Have Stock" toggle in the admin bin size management interface (create and edit forms).
    • Updated order pricing and skip bin controller logic (AdminNewSkipBinOrder.vue, PricingRepository, AutoHelper, OrderSkipBinController) to bypass stock checking and treat the container size as always available if is_have_stock is false.
  • Web Order Visibility Control (Hide on Web Order):
    • Added the is_show_web_order flag to the waste_containers table (via migration 2026_05_20_145630_add_is_show_web_order_on_waste_containers_table.php).
    • Added a toggle in the admin bin size management interface to show/hide specific bin sizes on the public web order form.
    • Updated OrderController and OrderRepository to respect this visibility flag.
  • Activity Log Diff Console Command:
    • Added app/Console/Commands/ActivityLogDiffCommand.php implementing php artisan activity-log:diff to compare activity log audit records.

🛠 Improvements

  • Order & Quote Flow:
    • Enhanced the convert-to-order flow for quotes (in OrderController.php, OrderRepository.php, and quote.blade.php).
    • Refactored the edit order views and repositories (AdminEditOrder.vue, InvoiceManagement.php, ExtraServiceRepository.php, and first-invoice.blade.php) to streamline order changes and invoice adjustments.
  • WIP Wheely Contracts Rental Fees:
    • Began implementing bin rental fee order creation for Wheely contracts (work in progress).

🐞 Bugfixes

  • Runsheet & Task Management:
    • Corrected task editing on the Runsheet (TaskRunsheetController.php now passes false to TaskRepository::update).
    • Corrected max_weight resolution for rental orders in the Runsheet edit task component (EditTask.vue).
    • Prevented updates to max_weight on rental orders when a task is marked as completed in OrderRentalRepository.php.
    • Updated TaskRepository.php to check overload_weight instead of overload_price.
  • Routing & Redirection:
    • Fixed the slug redirect issue in OrderController.php (retaining the slug on redirection) and resolved naming issues in web.php for order-contract routes.
    • Handled the back query parameter on task edit page redirection to disposal edit pages.
  • UI & Formatting:
    • Fixed the 500 error page template (errors/500.blade.php).
    • Corrected progress bar height and border-radius inline styles in the SMS campaign reports view (Index.vue).
    • Resolved minor spelling mistakes across several codebase views and Javascript files.

📝 Notes & Technical Instructions

Database Migrations

Run the database migrations to apply the new table schema changes for bin containers:

php artisan migrate

Frontend Assets

Assets have been compiled for production deployment:

npm run prod