feat: add discount source column to transaction tables
fix: move individual discounts to phone code response instead of poller
This commit is contained in:
parent
e837ee3e7a
commit
b0fa62a9f3
6 changed files with 32 additions and 12 deletions
|
|
@ -57,7 +57,7 @@ function addDbBills (tx) {
|
|||
|
||||
function toDb (tx) {
|
||||
const massager = _.flow(convertBigNumFields, addDbBills,
|
||||
_.omit(['direction', 'bills']), _.mapKeys(convertField))
|
||||
_.omit(['direction', 'bills', 'promoCodeApplied']), _.mapKeys(convertField))
|
||||
|
||||
return massager(tx)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue