[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-merchant-backoffice] 02/02: fix: add missing auto_refund
From: |
gnunet |
Subject: |
[taler-merchant-backoffice] 02/02: fix: add missing auto_refund |
Date: |
Wed, 18 May 2022 21:18:57 +0200 |
This is an automated email from the git hooks/post-receive script.
sebasjm pushed a commit to branch master
in repository merchant-backoffice.
commit b28ef10bdda552ab77ff71b9f275a6e6f294ebc7
Author: Sebastian <sebasjm@gmail.com>
AuthorDate: Wed May 18 16:18:37 2022 -0300
fix: add missing auto_refund
---
.../src/paths/instance/orders/create/CreatePage.tsx | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)
diff --git
a/packages/merchant-backoffice/src/paths/instance/orders/create/CreatePage.tsx
b/packages/merchant-backoffice/src/paths/instance/orders/create/CreatePage.tsx
index 0c67cdf..c08d8ee 100644
---
a/packages/merchant-backoffice/src/paths/instance/orders/create/CreatePage.tsx
+++
b/packages/merchant-backoffice/src/paths/instance/orders/create/CreatePage.tsx
@@ -239,9 +239,16 @@ export function CreatePage({
t_s: Math.floor(value.payments.refund_deadline.getTime() / 1000),
}
: undefined,
- wire_fee_amortization: value.payments.wire_fee_amortization,
- max_fee: value.payments.max_fee,
- max_wire_fee: value.payments.max_wire_fee,
+ auto_refund: value.payments.auto_refund_deadline
+ ? {
+ d_us: Math.floor(
+ value.payments.auto_refund_deadline.getTime() * 1000
+ ),
+ }
+ : undefined,
+ wire_fee_amortization: value.payments.wire_fee_amortization as number,
+ max_fee: value.payments.max_fee as string,
+ max_wire_fee: value.payments.max_wire_fee as string,
delivery_date: value.shipping.delivery_date
? { t_s: value.shipping.delivery_date.getTime() / 1000 }
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.