Add approved invoice status with lock after customer acceptance.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Alireza Hassani
2026-07-28 11:54:16 +03:30
co-authored by Cursor
parent 9455cd9fab
commit 7244b70e90
7 changed files with 241 additions and 6 deletions
@@ -0,0 +1,3 @@
-- Add 'approved' to invoice_status (customer accepted the invoice; content becomes immutable).
ALTER TYPE invoice_status ADD VALUE IF NOT EXISTS 'approved';