feat: add support for more than two cassettes
This commit is contained in:
parent
478af0fad0
commit
5788b6216d
13 changed files with 279 additions and 50 deletions
|
|
@ -90,7 +90,7 @@ const CashCassettes = ({ machine, config, refetchData }) => {
|
|||
view: (value, { deviceId }) => (
|
||||
<CashOut
|
||||
className={classes.cashbox}
|
||||
denomination={getCashoutSettings(deviceId)?.top}
|
||||
denomination={getCashoutSettings(deviceId)?.cassette1}
|
||||
currency={{ code: fiatCurrency }}
|
||||
notes={value}
|
||||
/>
|
||||
|
|
@ -109,7 +109,7 @@ const CashCassettes = ({ machine, config, refetchData }) => {
|
|||
return (
|
||||
<CashOut
|
||||
className={classes.cashbox}
|
||||
denomination={getCashoutSettings(deviceId)?.bottom}
|
||||
denomination={getCashoutSettings(deviceId)?.cassette2}
|
||||
currency={{ code: fiatCurrency }}
|
||||
notes={value}
|
||||
/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue