feat: use customer Autocomplete on discount creation

This commit is contained in:
Sérgio Salgado 2021-07-28 02:04:21 +01:00 committed by Josh Harvey
parent 43ff04b2af
commit 847b87ecb0
8 changed files with 94 additions and 189 deletions

View file

@ -260,6 +260,8 @@ function plugins (settings, deviceId) {
const areThereAvailablePromoCodes = arr[arr.length - 2] > 0
const individualDiscounts = arr[arr.length - 1]
console.log('individualDiscounts', individualDiscounts)
return {
cassettes,
rates: buildRates(tickers),