fix(payments): show already refunded amount, limit new refund to remaining

This commit is contained in:
chattie
2026-08-24 17:42:29 +02:00
parent 85ecee935b
commit 8ce1a36ef6
3 changed files with 4 additions and 2 deletions

View File

@@ -219,6 +219,7 @@ export async function registerPaymentsRoutes(
status: r.status,
raw: r.raw,
createdAt: r.created_at,
refundedAmountCents: r.refunded_amount_cents ?? 0,
})),
total,
});