Rev 37809 |
Last modification |
Compare with Previous |
View Log
| RSS feed
Last modification
- Rev 37810 2026-09-29 15:20:24
- Author: amit
- Log message:
- fix(irn-reset): allow reset of failed invoices and show the real rejection reason
A failed IRN filing leaves an einvoice_details row with irn NULL and only
irn_error_message set, but the reset panel treated any row as "IRN already
generated" and refused every failed invoice (e.g. NSLCK38227, GSP032 timeout,
billed same day) with the message "older than five days".
- Block only when einvoice_details.irn is set.
- Report a reason per invoice: not found / IRN already generated / already
queued / billed more than five days ago.
- Trim invoice numbers: the panel joins with ", ", so resetOrdersIrn matched
only the first invoice and silently skipped the rest.