Skip to main content

Changelog: Dwi - 2026-06-12

Daily Changelog - Waste Vantage Legacy

Overview

Today's changes by Dwi focus on improving the invoicing system by splitting and detailing overload and additional charges, and correcting the customer skip bin reordering process. Key modifications include adding new GST-inclusive price attributes to OrderDetail, updating the waiting invoice view and export templates, and updating the Vue customer order history component and backend resource.


Added

  • GST-Inclusive Price Accessors (app/OrderDetail.php)
    • Added new accessors price_gst, overload_price_gst, and additional_price_gst to calculate and retrieve GST-inclusive pricing for basic, overload, and additional service rates based on the is_gst_include flag and the custom gst_percent.

Changed

  • Waiting Invoice Export Template (resources/views/admin/accounting/invoice/wait_invoice_export.blade.php)
    • Updated price calculations to show GST-inclusive pricing for rental details.
    • Added layout blocks to export split lines for overload waste charges (with Docket IDs and chargeable weight) and additional charges (listing specific items) when they are not categorized as standard WIP overload.
  • Waiting Invoice Table View (resources/views/admin/accounting/invoice/wait_table.blade.php)
    • Updated price display to show GST-inclusive basic price for rental details.
    • Added nested UI table rows to display split lines for waste overload charges and additional charges when they are not standard WIP overload.
  • Customer Order History API Resource (app/Http/Resources/Admin/Accounting/Customer/OrderHistoryResource.php)
    • Extended the JSON resource response to include waste_type_id, waste_container_id, and address_id parameters to support refined reordering requests.

Fixed

  • Customer Skip Bin Reorder Link (resources/js/components/CustomerOrderHistoryAccounting.vue)
    • Corrected the reorder action URL structure to pass explicit parameters (customer_id, waste_type_id, waste_container_id, and address_id) instead of relying solely on the ambiguous order_id parameter.

Removed

  • None.