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, andadditional_price_gstto calculate and retrieve GST-inclusive pricing for basic, overload, and additional service rates based on theis_gst_includeflag and the customgst_percent.
- Added new accessors
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, andaddress_idparameters to support refined reordering requests.
- Extended the JSON resource response to include
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, andaddress_id) instead of relying solely on the ambiguousorder_idparameter.
- Corrected the reorder action URL structure to pass explicit parameters (
Removed
- None.