From 7879efcff70ea73935e139f4522aedadfe755c04 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Tue, 21 Feb 2023 12:37:31 -0300 Subject: [PATCH] show cashout destination --- packages/demobank-ui/src/declaration.d.ts | 5 +++++ packages/demobank-ui/src/pages/BusinessAccount.tsx | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/packages/demobank-ui/src/declaration.d.ts b/packages/demobank-ui/src/declaration.d.ts index e31eb47b7..03ab8f2a8 100644 --- a/packages/demobank-ui/src/declaration.d.ts +++ b/packages/demobank-ui/src/declaration.d.ts @@ -392,6 +392,11 @@ namespace SandboxBackend { subject: string; // Circuit bank account that created the cash-out. account: string; + // Fiat bank account that will receive the cashed out amount. + cashout_address: string; + // Ratios and fees related to this cash-out at the time + // when the operation was created. + ratios_and_fees: RatiosAndFees; // Time when the cash-out was created. creation_time: number; // milliseconds since the Unix epoch // Time when the cash-out was confirmed via its TAN. diff --git a/packages/demobank-ui/src/pages/BusinessAccount.tsx b/packages/demobank-ui/src/pages/BusinessAccount.tsx index fd7d2535c..23a03cc9b 100644 --- a/packages/demobank-ui/src/pages/BusinessAccount.tsx +++ b/packages/demobank-ui/src/pages/BusinessAccount.tsx @@ -652,6 +652,12 @@ export function ShowCashoutDetails({ +
+ + +
{isPending ? (