Files
accounted/lib
Mattsson ce3af4d17e Fix/multiple domain issue (#401)
* feat: enhance invoice management and immutability checks

- Update InvoiceDetailPage to prevent deletion of drafts with assigned invoice numbers, providing user feedback.
- Modify the invoice conversion API to ensure invoice number allocation occurs only after successful item insertion and proforma cancellation.
- Implement structured error responses for invoice deletion, ensuring only drafts without assigned numbers can be deleted.
- Add comprehensive tests for invoice deletion and conversion scenarios, including edge cases for draft invoices.
- Introduce immutability checks in the document management system to prevent unauthorized changes to linked documents.
- Create SQL migration to enforce document metadata immutability, ensuring compliance with accounting regulations.

* fix(invoice): prevent invoice number consumption on PDF render failure

* feat: add document journal entry immutability enforcement for delete_last_voucher RPC

* fix(invoice): implement rollback for orphan invoices on proforma cancel failure

* fix(document): extend immutability trigger to protect journal entry links
2026-05-06 14:08:38 +02:00
..
2026-05-06 11:12:02 +02:00
2026-05-06 11:12:02 +02:00
2026-05-06 11:12:02 +02:00
2026-03-21 00:47:54 +01:00
2026-05-05 09:53:37 +02:00
2026-05-06 14:08:38 +02:00
2026-02-24 16:06:36 +01:00
2026-05-05 09:53:37 +02:00
2026-04-29 16:32:26 +02:00
2026-05-06 14:08:38 +02:00
2026-05-06 11:12:02 +02:00
2026-05-06 11:12:02 +02:00
2026-05-06 11:12:02 +02:00
2026-04-22 18:14:01 +02:00
2026-04-27 16:29:58 +02:00
2026-05-06 11:12:02 +02:00
2026-04-15 11:17:39 +02:00
2026-05-05 09:53:37 +02:00
2026-05-06 11:12:02 +02:00
2026-04-29 16:32:26 +02:00
2026-04-09 16:22:51 +02:00