Merge branch 'fix/void-refunded'
# Conflicts: # CHANGELOG.md
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
-- 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;
|
||||
@@ -399,6 +399,10 @@ model Payment {
|
||||
reference String?
|
||||
notes String?
|
||||
receiptSentAt DateTime?
|
||||
// A refund: the money went back to the church. The payment stays on record (and its receipt), but
|
||||
// no longer counts as paid, so the invoice can be voided or paid again.
|
||||
refundedAt DateTime? @db.Date
|
||||
refundNote String?
|
||||
createdById String?
|
||||
createdAt DateTime @default(now())
|
||||
|
||||
|
||||
Reference in New Issue
Block a user