aboutsummaryrefslogtreecommitdiff
path: root/packages/merchant-backoffice-ui/src/paths/instance/templates
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2023-02-20 09:46:43 -0300
committerSebastian <sebasjm@gmail.com>2023-02-20 09:47:10 -0300
commitaa20812fbaf215aec413bd54d6e1594984afa1e6 (patch)
treeafaf5ac117feb75d6c48afd70a97096751ee94cd /packages/merchant-backoffice-ui/src/paths/instance/templates
parentc022f394286e1b8c35123d92bd2d4a23c3f981f9 (diff)
downloadwallet-core-aa20812fbaf215aec413bd54d6e1594984afa1e6.tar.xz
fix #7493
Diffstat (limited to 'packages/merchant-backoffice-ui/src/paths/instance/templates')
-rw-r--r--packages/merchant-backoffice-ui/src/paths/instance/templates/create/CreatePage.tsx6
-rw-r--r--packages/merchant-backoffice-ui/src/paths/instance/templates/update/UpdatePage.tsx6
2 files changed, 12 insertions, 0 deletions
diff --git a/packages/merchant-backoffice-ui/src/paths/instance/templates/create/CreatePage.tsx b/packages/merchant-backoffice-ui/src/paths/instance/templates/create/CreatePage.tsx
index 2b8d718fb..b23c52362 100644
--- a/packages/merchant-backoffice-ui/src/paths/instance/templates/create/CreatePage.tsx
+++ b/packages/merchant-backoffice-ui/src/paths/instance/templates/create/CreatePage.tsx
@@ -134,6 +134,12 @@ export function CreatePage({ onCreate, onBack }: Props): VNode {
help=""
tooltip={i18n.str`How much time has the customer to complete the payment once the order was created.`}
/>
+ <Input<Entity>
+ name="pos_key"
+ label={i18n.str`Point-of-sale key`}
+ help=""
+ tooltip={i18n.str`Useful to validate the purchase`}
+ />
</FormProvider>
<div class="buttons is-right mt-5">
diff --git a/packages/merchant-backoffice-ui/src/paths/instance/templates/update/UpdatePage.tsx b/packages/merchant-backoffice-ui/src/paths/instance/templates/update/UpdatePage.tsx
index 718a67ae0..5bd9bd38d 100644
--- a/packages/merchant-backoffice-ui/src/paths/instance/templates/update/UpdatePage.tsx
+++ b/packages/merchant-backoffice-ui/src/paths/instance/templates/update/UpdatePage.tsx
@@ -143,6 +143,12 @@ export function UpdatePage({ template, onUpdate, onBack }: Props): VNode {
help=""
tooltip={i18n.str`How much time has the customer to complete the payment once the order was created.`}
/>
+ <Input<Entity>
+ name="pos_key"
+ label={i18n.str`Point-of-sale key`}
+ help=""
+ tooltip={i18n.str`Useful to validate the purchase`}
+ />
</FormProvider>
<div class="buttons is-right mt-5">