feat: add bill math cassette-agnostic solution
fix: multiple generic fixes related with the recyclers fix: slight UI data changes
This commit is contained in:
parent
2d010fc359
commit
f3ab63766e
15 changed files with 173 additions and 353 deletions
|
|
@ -48,7 +48,7 @@ exports.stackerCounts = function stackerCounts (deviceId) {
|
|||
.then(row => {
|
||||
const counts = []
|
||||
_.forEach(it => {
|
||||
counts.push(row[`stacker${it + 1}f`], row[`stacker${it + 1}r`])
|
||||
counts.push([row[`stacker${it + 1}f`], row[`stacker${it + 1}r`]])
|
||||
}, _.times(_.identity(), row.number_of_stackers))
|
||||
|
||||
return { numberOfStackers: row.number_of_stackers, counts }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue