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
readonlyonly when it contains a value, allowing users to enter a phone number if it was blank.
- Conditionally set the phone number field to
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
sitetoaddressinsidecustomer.site.updateandcustomer.site.editform actions and links. - Corrected route parameter name for default site action from
sitetoid.
- Corrected the route parameter name from
- Profile Update Phone Number Processing (
app/Http/Controllers/Customer/ProfileController.php)- Added
CustomerRepository::convertPhoneNumberto clean and format phone numbers before updating customer profiles.
- Added
- Send Email Controller Redirect Parameter (
app/Http/Controllers/Frontend/SendEmailController.php)- Updated redirection parameters on E-wallet topup invoice routes to use
invoice_codeinstead ofinvoice.
- Updated redirection parameters on E-wallet topup invoice routes to use
- Task API JSON Representation (
app/Http/Controllers/Customer/TaskController.php)- Wrapped task response returned in
getDataByIdusingJsonResource::maketo adhere to REST API specifications.
- Wrapped task response returned in
Removed
- None.