Add Machine
-
+
@@ -279,7 +279,7 @@ const AddMachine = memo(({ close, onPaired }) => {
- )
+ );
})
export default AddMachine
diff --git a/new-lamassu-admin/src/pages/Authentication/Login.jsx b/new-lamassu-admin/src/pages/Authentication/Login.jsx
index 5249bfc4..e11a1454 100644
--- a/new-lamassu-admin/src/pages/Authentication/Login.jsx
+++ b/new-lamassu-admin/src/pages/Authentication/Login.jsx
@@ -15,13 +15,13 @@ const Login = () => {
spacing={0}
direction="column"
alignItems="center"
- justify="center"
+ justifyContent="center"
className={classes.welcomeBackground}>
- )
+ );
}
export default Login
diff --git a/new-lamassu-admin/src/pages/Authentication/Register.jsx b/new-lamassu-admin/src/pages/Authentication/Register.jsx
index 5292a89c..ec4f779e 100644
--- a/new-lamassu-admin/src/pages/Authentication/Register.jsx
+++ b/new-lamassu-admin/src/pages/Authentication/Register.jsx
@@ -131,7 +131,7 @@ const Register = () => {
spacing={0}
direction="column"
alignItems="center"
- justify="center"
+ justifyContent="center"
className={classes.welcomeBackground}>
@@ -214,7 +214,7 @@ const Register = () => {
- )
+ );
}
export default Register
diff --git a/new-lamassu-admin/src/pages/Authentication/Reset2FA.jsx b/new-lamassu-admin/src/pages/Authentication/Reset2FA.jsx
index e924e7ae..4b1441fa 100644
--- a/new-lamassu-admin/src/pages/Authentication/Reset2FA.jsx
+++ b/new-lamassu-admin/src/pages/Authentication/Reset2FA.jsx
@@ -121,7 +121,7 @@ const Reset2FA = () => {
spacing={0}
direction="column"
alignItems="center"
- justify="center"
+ justifyContent="center"
className={classes.welcomeBackground}>
@@ -205,7 +205,7 @@ const Reset2FA = () => {
- )
+ );
}
export default Reset2FA
diff --git a/new-lamassu-admin/src/pages/Authentication/ResetPassword.jsx b/new-lamassu-admin/src/pages/Authentication/ResetPassword.jsx
index 16ac3785..1f741ff9 100644
--- a/new-lamassu-admin/src/pages/Authentication/ResetPassword.jsx
+++ b/new-lamassu-admin/src/pages/Authentication/ResetPassword.jsx
@@ -96,7 +96,7 @@ const ResetPassword = () => {
spacing={0}
direction="column"
alignItems="center"
- justify="center"
+ justifyContent="center"
className={classes.welcomeBackground}>
@@ -164,7 +164,7 @@ const ResetPassword = () => {
- )
+ );
}
export default ResetPassword
diff --git a/new-lamassu-admin/src/pages/Blacklist/BlacklistAdvanced.jsx b/new-lamassu-admin/src/pages/Blacklist/BlacklistAdvanced.jsx
index dc93c3d7..4574f27e 100644
--- a/new-lamassu-admin/src/pages/Blacklist/BlacklistAdvanced.jsx
+++ b/new-lamassu-admin/src/pages/Blacklist/BlacklistAdvanced.jsx
@@ -64,7 +64,8 @@ const BlacklistAdvanced = ({
view: it => (
setSelectedMessage(it)}>
+ onClick={() => setSelectedMessage(it)}
+ size="large">
)
@@ -81,7 +82,8 @@ const BlacklistAdvanced = ({
disabled={
!R.isNil(R.path(['allowToggle'], it)) &&
!R.path(['allowToggle'], it)
- }>
+ }
+ size="large">
{R.path(['allowToggle'], it) ? (
) : (
diff --git a/new-lamassu-admin/src/pages/Blacklist/BlacklistTable.jsx b/new-lamassu-admin/src/pages/Blacklist/BlacklistTable.jsx
index 872beef7..6f7852bd 100644
--- a/new-lamassu-admin/src/pages/Blacklist/BlacklistTable.jsx
+++ b/new-lamassu-admin/src/pages/Blacklist/BlacklistTable.jsx
@@ -49,7 +49,8 @@ const BlacklistTable = ({
onClick={() => {
setDeleteDialog(true)
setToBeDeleted(it)
- }}>
+ }}
+ size="large">
)
diff --git a/new-lamassu-admin/src/pages/Customers/helper.jsx b/new-lamassu-admin/src/pages/Customers/helper.jsx
index 7d9f5a7e..7e3902cc 100644
--- a/new-lamassu-admin/src/pages/Customers/helper.jsx
+++ b/new-lamassu-admin/src/pages/Customers/helper.jsx
@@ -317,7 +317,7 @@ const ManualDataEntry = ({ selectedValues, customInfoRequirementOptions }) => {
fullWidth
label={`Available requests`}
className={classes.picker}
- getOptionSelected={R.eqProps('code')}
+ isOptionEqualToValue={R.eqProps('code')}
labelProp={'display'}
options={customInfoRequirementOptions}
onChange={(evt, it) => {}}
@@ -343,7 +343,7 @@ const ManualDataEntry = ({ selectedValues, customInfoRequirementOptions }) => {
}>
)}
>
- )
+ );
}
const customElements = {
diff --git a/new-lamassu-admin/src/pages/LoyaltyPanel/IndividualDiscounts.jsx b/new-lamassu-admin/src/pages/LoyaltyPanel/IndividualDiscounts.jsx
index e10d71a5..d045afc9 100644
--- a/new-lamassu-admin/src/pages/LoyaltyPanel/IndividualDiscounts.jsx
+++ b/new-lamassu-admin/src/pages/LoyaltyPanel/IndividualDiscounts.jsx
@@ -144,7 +144,8 @@ const IndividualDiscounts = () => {
onClick={() => {
setDeleteDialog(true)
setToBeDeleted({ variables: { discountId: t.id } })
- }}>
+ }}
+ size="large">
)
diff --git a/new-lamassu-admin/src/pages/LoyaltyPanel/PromoCodes.jsx b/new-lamassu-admin/src/pages/LoyaltyPanel/PromoCodes.jsx
index a002f5df..a63c0ffc 100644
--- a/new-lamassu-admin/src/pages/LoyaltyPanel/PromoCodes.jsx
+++ b/new-lamassu-admin/src/pages/LoyaltyPanel/PromoCodes.jsx
@@ -120,7 +120,8 @@ const PromoCodes = () => {
onClick={() => {
setDeleteDialog(true)
setToBeDeleted({ variables: { codeId: t.id } })
- }}>
+ }}
+ size="large">
)
diff --git a/new-lamassu-admin/src/pages/Maintenance/CashUnits.jsx b/new-lamassu-admin/src/pages/Maintenance/CashUnits.jsx
index 793e40df..c8338af5 100644
--- a/new-lamassu-admin/src/pages/Maintenance/CashUnits.jsx
+++ b/new-lamassu-admin/src/pages/Maintenance/CashUnits.jsx
@@ -200,158 +200,155 @@ const CashCassettes = () => {
/>
)
- return (
- !dataLoading && (
- <>
-
R.path(['cashboxBatchesCsv'])(logs)}
- timezone={timezone}
- args={{ timezone }}
- />
- ) : (
- <>>
- )
- }
- ]}
- iconClassName={classes.listViewButton}
- className={classes.tableWidth}
- appendix={
-
-
- For details on configuring cash boxes and cassettes, please read
- the relevant knowledgebase article:
+ return (!dataLoading && (<>
+ R.path(['cashboxBatchesCsv'])(logs)}
+ timezone={timezone}
+ args={{ timezone }}
+ />
+ ) : (
+ <>>
+ )
+ }
+ ]}
+ iconClassName={classes.listViewButton}
+ className={classes.tableWidth}
+ appendix={
+
+
+ For details on configuring cash boxes and cassettes, please read
+ the relevant knowledgebase article:
+
+
+
+ }>
+ {!showHistory && (
+
+ Cash box resets
+
+ {cashboxReset && (
+
+ {onlyFirstToUpper(cashboxReset)}
-
-
- }>
- {!showHistory && (
-
- Cash box resets
-
- {cashboxReset && (
-
- {onlyFirstToUpper(cashboxReset)}
-
- )}
- setEditingSchema(true)}
- className={classes.button}>
-
-
-
-
- )}
-
- {!showHistory && (
- <>
-
-
- {data && R.isEmpty(machines) && (
-
)}
- >
- )}
- {showHistory && (
-
- )}
-
setEditingSchema(true)}
+ className={classes.button}
+ size="large">
+
+
+
+
+ )}
+
+ {!showHistory && (
+ <>
+
- {wizard && (
- {
- setWizard(false)
- }}
- error={error?.message}
- save={onSave}
- locale={locale}
- />
- )}
- {editingSchema && (
- setEditingSchema(null)}
- open={true}>
-
- We can automatically assume you emptied a bill validator's cash
- box when the machine detects that it has been removed.
-
-
-
- Assume the cash box is emptied whenever it's removed, creating a
- new batch on the history screen and setting its current balance to
- zero.
-
-
-
- Cash boxes won't be assumed emptied when removed, nor their counts
- modified. Instead, to update the count and create a new batch,
- you'll click the 'Edit' button on this panel.
-
-
- saveCashboxOption(selectedRadio)}>
- Confirm
-
-
-
+
+ {data && R.isEmpty(machines) && (
+
)}
>
- )
- )
+ )}
+ {showHistory && (
+
+ )}
+
+ {wizard && (
+ {
+ setWizard(false)
+ }}
+ error={error?.message}
+ save={onSave}
+ locale={locale}
+ />
+ )}
+ {editingSchema && (
+ setEditingSchema(null)}
+ open={true}>
+
+ We can automatically assume you emptied a bill validator's cash
+ box when the machine detects that it has been removed.
+
+
+
+ Assume the cash box is emptied whenever it's removed, creating a
+ new batch on the history screen and setting its current balance to
+ zero.
+
+
+
+ Cash boxes won't be assumed emptied when removed, nor their counts
+ modified. Instead, to update the count and create a new batch,
+ you'll click the 'Edit' button on this panel.
+
+
+ saveCashboxOption(selectedRadio)}>
+ Confirm
+
+
+
+ )}
+ >));
}
export default CashCassettes
diff --git a/new-lamassu-admin/src/pages/Maintenance/helper.jsx b/new-lamassu-admin/src/pages/Maintenance/helper.jsx
index acc6ef1e..19e21f60 100644
--- a/new-lamassu-admin/src/pages/Maintenance/helper.jsx
+++ b/new-lamassu-admin/src/pages/Maintenance/helper.jsx
@@ -132,10 +132,11 @@ const getElements = (
onClick={() => {
!R.isNil(setMachineId) && setMachineId(m.id ?? m.deviceId)
setWizard(true)
- }}>
+ }}
+ size="large">
- )
+ );
}
}
]
diff --git a/new-lamassu-admin/src/pages/Notifications/components/EditHeader.jsx b/new-lamassu-admin/src/pages/Notifications/components/EditHeader.jsx
index 39de01cd..45b6c744 100644
--- a/new-lamassu-admin/src/pages/Notifications/components/EditHeader.jsx
+++ b/new-lamassu-admin/src/pages/Notifications/components/EditHeader.jsx
@@ -20,7 +20,8 @@ const Header = ({ title, editing, disabled, setEditing }) => {
setEditing(true)}
className={classes.button}
- disabled={disabled}>
+ disabled={disabled}
+ size="large">
{disabled ? : }
)}
@@ -35,7 +36,7 @@ const Header = ({ title, editing, disabled, setEditing }) => {
)}
- )
+ );
}
export default Header
diff --git a/new-lamassu-admin/src/pages/OperatorInfo/ContactInfo.jsx b/new-lamassu-admin/src/pages/OperatorInfo/ContactInfo.jsx
index 00f9e094..7e5d288c 100644
--- a/new-lamassu-admin/src/pages/OperatorInfo/ContactInfo.jsx
+++ b/new-lamassu-admin/src/pages/OperatorInfo/ContactInfo.jsx
@@ -221,7 +221,8 @@ const ContactInfo = ({ wizard }) => {
{!editing && (