commit 7879efcff70ea73935e139f4522aedadfe755c04 parent d34faf254913b269bf1f0b5c457bbacbebf1400c Author: Sebastian <sebasjm@gmail.com> Date: Tue, 21 Feb 2023 12:37:31 -0300 show cashout destination Diffstat:
| M | packages/demobank-ui/src/declaration.d.ts | | | 5 | +++++ |
| M | packages/demobank-ui/src/pages/BusinessAccount.tsx | | | 6 | ++++++ |
2 files changed, 11 insertions(+), 0 deletions(-)
diff --git 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 @@ -652,6 +652,12 @@ export function ShowCashoutDetails({ </label> <input readOnly value={result.data.status} /> </fieldset> + <fieldset> + <label> + <i18n.Translate>Destination</i18n.Translate> + </label> + <input readOnly value={result.data.cashout_address} /> + </fieldset> {isPending ? ( <fieldset> <label>