(root)/ – Rev 36142
Rev 36141 |
Rev 36143 |
Go to most recent revision |
Compare with Previous |
Directory listing |
View Log
| RSS feed
Last modification
- Rev 36142 – 34 d 19 h
- Author: amit
- Log message:
- Prevent duplicate SALE_RET scans — fix double wallet refund bug
receiveDebitNoteItems():
- Build alreadyReturnedSet from existing SALE_RET/DOA_IN/SALE_RET_UNUSABLE scans
- Serialized: throw exception if IMEI already returned against same order
- Non-serialized: include existing return count in over-return check
processInvoiceReturn():
- Same alreadyReturnedSet check — skip with warning if already returned
Prevents the bug where same IMEI is returned, re-sold, then returned again
against the original order causing duplicate wallet refund.