Fix invoice creation: type must be 'standard' not 'enrollment' (CHECK constraint)
invoices.type only allows: standard, recurring, credit_note, proforma.
The wizard was passing 'enrollment' which violated the DB constraint,
causing a silent failure caught by the try/catch.
Co-Authored-By:
Claude Opus 4.6 <noreply@anthropic.com>
Showing
Please register or sign in to comment