diff --git a/new-lamassu-admin/src/components/inputs/cashbox/Cashbox.js b/new-lamassu-admin/src/components/inputs/cashbox/Cashbox.js index 9cbefaf9..5902c141 100644 --- a/new-lamassu-admin/src/components/inputs/cashbox/Cashbox.js +++ b/new-lamassu-admin/src/components/inputs/cashbox/Cashbox.js @@ -13,13 +13,18 @@ import { cashboxStyles, gridStyles } from './Cashbox.styles' const cashboxClasses = makeStyles(cashboxStyles) const gridClasses = makeStyles(gridStyles) -const Cashbox = ({ percent = 0, cashOut = false, className }) => { +const Cashbox = ({ + percent = 0, + cashOut = false, + className, + emptyPartClassName +}) => { const classes = cashboxClasses({ percent, cashOut }) const threshold = 51 return (
-
+
{percent <= threshold && {percent.toFixed(0)}%}
diff --git a/new-lamassu-admin/src/pages/Notifications/sections/FiatBalanceAlerts.js b/new-lamassu-admin/src/pages/Notifications/sections/FiatBalanceAlerts.js index 9fd38e51..d83a260f 100644 --- a/new-lamassu-admin/src/pages/Notifications/sections/FiatBalanceAlerts.js +++ b/new-lamassu-admin/src/pages/Notifications/sections/FiatBalanceAlerts.js @@ -76,7 +76,12 @@ const FiatBalance = ({
- +
Cassette 1 (Top)
- +
Cassette 2 (Bottom)