gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-wallet-core] branch master updated: fix #7493


From: gnunet
Subject: [taler-wallet-core] branch master updated: fix #7493
Date: Mon, 20 Feb 2023 13:50:51 +0100

This is an automated email from the git hooks/post-receive script.

sebasjm pushed a commit to branch master
in repository wallet-core.

The following commit(s) were added to refs/heads/master by this push:
     new aa20812fb fix #7493
aa20812fb is described below

commit aa20812fbaf215aec413bd54d6e1594984afa1e6
Author: Sebastian <sebasjm@gmail.com>
AuthorDate: Mon Feb 20 09:46:43 2023 -0300

    fix #7493
---
 packages/merchant-backoffice-ui/src/declaration.d.ts      | 15 ++++++---------
 .../src/paths/instance/templates/create/CreatePage.tsx    |  6 ++++++
 .../src/paths/instance/templates/update/UpdatePage.tsx    |  6 ++++++
 3 files changed, 18 insertions(+), 9 deletions(-)

diff --git a/packages/merchant-backoffice-ui/src/declaration.d.ts 
b/packages/merchant-backoffice-ui/src/declaration.d.ts
index e65835bfd..c9380760c 100644
--- a/packages/merchant-backoffice-ui/src/declaration.d.ts
+++ b/packages/merchant-backoffice-ui/src/declaration.d.ts
@@ -1283,10 +1283,9 @@ export namespace MerchantBackend {
       // Human-readable description for the template.
       template_description: string;
 
-      // A base64-encoded image selected by the merchant.
+      // A base64-encoded key of the point-of-sale.
       // This parameter is optional.
-      // We are not sure about it.
-      image?: ImageDataUrl;
+      pos_key?: string;
 
       // Additional information in a separate template.
       template_contract: TemplateContractDetails;
@@ -1310,10 +1309,9 @@ export namespace MerchantBackend {
       // Human-readable description for the template.
       template_description: string;
 
-      // A base64-encoded image selected by the merchant.
+      // A base64-encoded key of the point-of-sale.
       // This parameter is optional.
-      // We are not sure about it.
-      image?: ImageDataUrl;
+      pos_key?: string;
 
       // Additional information in a separate template.
       template_contract: TemplateContractDetails;
@@ -1336,10 +1334,9 @@ export namespace MerchantBackend {
       // Human-readable description for the template.
       template_description: string;
 
-      // A base64-encoded image selected by the merchant.
+      // A base64-encoded key of the point-of-sale.
       // This parameter is optional.
-      // We are not sure about it.
-      image?: ImageDataUrl;
+      pos_key?: string;
 
       // Additional information in a separate template.
       template_contract: TemplateContractDetails;
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">

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]