Daily Changelog — 2026-05-22
| Branch | Author | Generated |
|---|
bugfix/log-error | DwiSward | 2026-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
- Secured payment registration processes inside
OrderController by transactionalizing database changes and ensuring correct adjustments for E-Wallet operations.
- Fixed a potential crash in the extra hire day controller by validating the presence of the price config record before verifying hireage limits.