Void was refused while any payment was recorded, so a paid-then-refunded invoice could only be voided by deleting the payment and losing the record. A payment can now be marked refunded: kept with its receipt, no longer counted as paid, shown on the statement as money going back out. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
4 lines
188 B
SQL
4 lines
188 B
SQL
-- 2.0.2: refunds. A refunded payment stays on record but no longer counts as paid.
|
|
ALTER TABLE "Payment" ADD COLUMN "refundedAt" DATE;
|
|
ALTER TABLE "Payment" ADD COLUMN "refundNote" TEXT;
|