Thursday, January 23, 2025
2 changes · master
Resolved issues and error corrections
This fixes an issue where point-of-sale payments through IoT payment terminals could remain stuck after a customer or cashier cancelled the payment. It helps cashiers recover cleanly from cancelled card transactions and restores related Ingenico test coverage to prevent regressions.
Original PR description
In #75729, the IoT payment terminal frontend code was refactored. However, cancellations have an issue where the payment can get stuck at `waitingCard` after cancelling. This commit fixes the issue, and also enables the `pos_iot_ingenico` test (which was failing due to this issue). task-4476662
Payslip batches now record status changes from the first step, so teams can see a complete and accurate history as batches move from draft through payment. This helps payroll users audit batch progress and avoid confusion from missing or misleading log entries.
Original PR description
Steps: - Go to the 'Payslip Batch' section. - Create a new batch and move it through different states: Draft, Verify, Close, Paid. - The batch log was not generated accordingly for state changes. Issues: - Batch log was not generated for any stage changes. - In some cases generated from the 'Done' stage and showed the 'Draft' stage. Fix: - Updated log generation to track all stage changes from the first stage. Task - 4452256