fix(payments): show already refunded amount, limit new refund to remaining
This commit is contained in:
@@ -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,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user