Skip to main content

Daily Changelog — 2026-05-22

BranchAuthorGenerated
bugfix/log-errorDwiSward2026-05-22

Fixes

  • Wrap payment processing in database transactions and add null safety e28e41071, 2026-05-22
    • Wrapped payment and fee invoice adjustments inside a database transaction block inside OrderController.php.
    • Added E-Wallet balance updates inside the payment creation transaction, retrieving and assigning the resulting transaction code.
    • Refactored payment data checks to correctly compute grand totals and payment adjustments for both rental contract orders and standard invoices.
    • Added null safety checks in ExtraDayController.php to prevent runtime errors when looking up extra hire days on invalid/null price configurations.

Summary

  1. Secured payment registration processes inside OrderController by transactionalizing database changes and ensuring correct adjustments for E-Wallet operations.
  2. Fixed a potential crash in the extra hire day controller by validating the presence of the price config record before verifying hireage limits.