fix: transaction screens fixes

This commit is contained in:
Taranto 2020-06-01 20:54:19 +01:00
parent bf8f1d991c
commit 8f7bb412a1
12 changed files with 315 additions and 37 deletions

View file

@ -62,7 +62,10 @@ function batch () {
}
function getCustomerTransactions (customerId) {
const packager = _.flow(_.flatten, _.orderBy(_.property('created'), ['desc']),
const packager = _.flow(it => {
console.log()
return it
}, _.flatten, _.orderBy(_.property('created'), ['desc']),
_.take(NUM_RESULTS), _.map(camelize), addNames)
const cashInSql = `select 'cashIn' as tx_class, txs.*,