Skip to main content

Changelog: Aryan - 2026-06-15

Daily Changelog - Waste Vantage Legacy

Overview

Today's changes by Aryan focus on refining customer portal views and routing. Key modifications include fixing route parameters for site and invoice views, ensuring profile updates properly sanitize phone numbers, resolving issues with read-only phone number inputs, wrapping API task data in JsonResource, and bringing consistency to the customer running balance information format compared to the admin dashboard.


Added

  • None.

Changed

  • Customer Running Balance View (resources/views/customer/billings/running_balance.blade.php)
    • Updated the running balance statement rendering to align with the admin dashboard format.
    • Added support for displaying top-ups via E-Wallet, including Stripe transaction IDs and dates.
    • Handled GST-exclusive line rows for invoices having GST values.
    • Configured inline Stripe/card payment rows properly to reflect correct status and balance calculations.
  • Customer Profile Phone Field (resources/views/customer/profile.blade.php)
    • Conditionally set the phone number field to readonly only when it contains a value, allowing users to enter a phone number if it was blank.

Fixed

  • Site View Route Parameters (resources/views/customer/site/edit.blade.php, resources/views/customer/site/index.blade.php)
    • Corrected the route parameter name from site to address inside customer.site.update and customer.site.edit form actions and links.
    • Corrected route parameter name for default site action from site to id.
  • Profile Update Phone Number Processing (app/Http/Controllers/Customer/ProfileController.php)
    • Added CustomerRepository::convertPhoneNumber to clean and format phone numbers before updating customer profiles.
  • Send Email Controller Redirect Parameter (app/Http/Controllers/Frontend/SendEmailController.php)
    • Updated redirection parameters on E-wallet topup invoice routes to use invoice_code instead of invoice.
  • Task API JSON Representation (app/Http/Controllers/Customer/TaskController.php)
    • Wrapped task response returned in getDataById using JsonResource::make to adhere to REST API specifications.

Removed

  • None.