aboutsummaryrefslogtreecommitdiff
path: root/packages/merchant-backoffice-ui/src/components
diff options
context:
space:
mode:
Diffstat (limited to 'packages/merchant-backoffice-ui/src/components')
-rw-r--r--packages/merchant-backoffice-ui/src/components/form/InputPaytoForm.tsx12
-rw-r--r--packages/merchant-backoffice-ui/src/components/menu/SideBar.tsx8
2 files changed, 12 insertions, 8 deletions
diff --git a/packages/merchant-backoffice-ui/src/components/form/InputPaytoForm.tsx b/packages/merchant-backoffice-ui/src/components/form/InputPaytoForm.tsx
index 0362310b9..32545c89a 100644
--- a/packages/merchant-backoffice-ui/src/components/form/InputPaytoForm.tsx
+++ b/packages/merchant-backoffice-ui/src/components/form/InputPaytoForm.tsx
@@ -276,6 +276,7 @@ export function InputPaytoForm<T>({
label={i18n.str`Account type`}
tooltip={i18n.str`Method to use for wire transfer`}
values={targets}
+ readonly={readonly}
toStr={(v) => (v === noTargetValue ? i18n.str`Choose one...` : v)}
/>
@@ -284,11 +285,13 @@ export function InputPaytoForm<T>({
<Input<Entity>
name="path1"
label={i18n.str`Routing`}
+ readonly={readonly}
tooltip={i18n.str`Routing number.`}
/>
<Input<Entity>
name="path2"
label={i18n.str`Account`}
+ readonly={readonly}
tooltip={i18n.str`Account number.`}
/>
</Fragment>
@@ -298,6 +301,7 @@ export function InputPaytoForm<T>({
<Input<Entity>
name="path1"
label={i18n.str`Code`}
+ readonly={readonly}
tooltip={i18n.str`Business Identifier Code.`}
/>
</Fragment>
@@ -308,6 +312,7 @@ export function InputPaytoForm<T>({
name="path1"
label={i18n.str`IBAN`}
tooltip={i18n.str`International Bank Account Number.`}
+ readonly={readonly}
placeholder="DE1231231231"
inputExtra={{ style: { textTransform: "uppercase" } }}
/>
@@ -317,6 +322,7 @@ export function InputPaytoForm<T>({
<Fragment>
<Input<Entity>
name="path1"
+ readonly={readonly}
label={i18n.str`Account`}
tooltip={i18n.str`Unified Payment Interface.`}
/>
@@ -326,6 +332,7 @@ export function InputPaytoForm<T>({
<Fragment>
<Input<Entity>
name="path1"
+ readonly={readonly}
label={i18n.str`Address`}
tooltip={i18n.str`Bitcoin protocol.`}
/>
@@ -335,6 +342,7 @@ export function InputPaytoForm<T>({
<Fragment>
<Input<Entity>
name="path1"
+ readonly={readonly}
label={i18n.str`Address`}
tooltip={i18n.str`Ethereum protocol.`}
/>
@@ -344,6 +352,7 @@ export function InputPaytoForm<T>({
<Fragment>
<Input<Entity>
name="path1"
+ readonly={readonly}
label={i18n.str`Address`}
tooltip={i18n.str`Interledger protocol.`}
/>
@@ -354,11 +363,13 @@ export function InputPaytoForm<T>({
<Fragment>
<Input<Entity>
name="path1"
+ readonly={readonly}
label={i18n.str`Host`}
tooltip={i18n.str`Bank host.`}
/>
<Input<Entity>
name="path2"
+ readonly={readonly}
label={i18n.str`Account`}
tooltip={i18n.str`Bank account.`}
/>
@@ -372,6 +383,7 @@ export function InputPaytoForm<T>({
<Fragment>
<Input
name="params.receiver-name"
+ readonly={readonly}
label={i18n.str`Owner's name`}
tooltip={i18n.str`Legal name of the person holding the account.`}
/>
diff --git a/packages/merchant-backoffice-ui/src/components/menu/SideBar.tsx b/packages/merchant-backoffice-ui/src/components/menu/SideBar.tsx
index 8aac5f543..cfc00148e 100644
--- a/packages/merchant-backoffice-ui/src/components/menu/SideBar.tsx
+++ b/packages/merchant-backoffice-ui/src/components/menu/SideBar.tsx
@@ -218,14 +218,6 @@ export function Sidebar({
<li>
<div>
<span style={{ width: "3rem" }} class="icon">
- <i class="mdi mdi-currency-eur" />
- </span>
- <span class="menu-item-label">{config.currency}</span>
- </div>
- </li>
- <li>
- <div>
- <span style={{ width: "3rem" }} class="icon">
<i class="mdi mdi-web" />
</span>
<span class="menu-item-label">