taler-typescript-core

Wallet core logic and WebUIs for various components
Log | Files | Refs | Submodules | README | LICENSE

commit 10e0db0cd1ae037d2f748554c61ed4a26549b316
parent a945c2fe7934fd258f7aa96fe8c623def8f4ca75
Author: Sebastian <sebasjm@gmail.com>
Date:   Wed, 12 Feb 2025 11:24:51 -0300

fix #9521

Diffstat:
Mpackages/merchant-backoffice-ui/src/paths/instance/orders/create/CreatePage.tsx | 16+++++++---------
Mpackages/merchant-backoffice-ui/src/paths/instance/orders/details/DetailPage.tsx | 16+++++++---------
2 files changed, 14 insertions(+), 18 deletions(-)

diff --git a/packages/merchant-backoffice-ui/src/paths/instance/orders/create/CreatePage.tsx b/packages/merchant-backoffice-ui/src/paths/instance/orders/create/CreatePage.tsx @@ -527,15 +527,13 @@ export function CreatePage({ label={i18n.str`Delivery date`} tooltip={i18n.str`Deadline for physical delivery assured by the merchant.`} /> - {value.shipping?.delivery_date && ( - <InputGroup - name="shipping.delivery_location" - label={i18n.str`Location`} - tooltip={i18n.str`Address where the products will be delivered`} - > - <InputLocation name="shipping.delivery_location" /> - </InputGroup> - )} + <InputGroup + name="shipping.delivery_location" + label={i18n.str`Location`} + tooltip={i18n.str`Address where the products will be delivered`} + > + <InputLocation name="shipping.delivery_location" /> + </InputGroup> <Input name="shipping.fulfillment_url" label={i18n.str`Fulfillment URL`} diff --git a/packages/merchant-backoffice-ui/src/paths/instance/orders/details/DetailPage.tsx b/packages/merchant-backoffice-ui/src/paths/instance/orders/details/DetailPage.tsx @@ -125,15 +125,13 @@ function ContractTerms({ value }: { value: CT }) { label={i18n.str`Delivery date`} tooltip={i18n.str`Time indicating when the order should be delivered`} /> - {value.delivery_date && ( - <InputGroup - name="delivery_location" - label={i18n.str`Location`} - tooltip={i18n.str`Where the order will be delivered`} - > - <InputLocation name="payments.delivery_location" /> - </InputGroup> - )} + <InputGroup + name="delivery_location" + label={i18n.str`Location`} + tooltip={i18n.str`Where the order will be delivered`} + > + <InputLocation name="delivery_location" /> + </InputGroup> <InputDuration<CT> readonly name="auto_refund"