Merge pull request #835 from josepfo/feat/move-paper-wallet-only-to-admin
feat: move paper wallet only to admin
This commit is contained in:
commit
079905efef
4 changed files with 114 additions and 4 deletions
|
|
@ -81,6 +81,7 @@ function poll (req, res, next) {
|
|||
const cashOutConfig = configManager.getCashOut(deviceId, settings.config)
|
||||
const receipt = configManager.getReceipt(settings.config)
|
||||
const terms = configManager.getTermsConditions(settings.config)
|
||||
const enablePaperWalletOnly = configManager.getCompliance(settings.config).enablePaperWalletOnly
|
||||
|
||||
state.pids[operatorId] = { [deviceId]: { pid, ts: Date.now() } }
|
||||
|
||||
|
|
@ -108,6 +109,7 @@ function poll (req, res, next) {
|
|||
version,
|
||||
receiptPrintingActive: receipt.active,
|
||||
smsReceiptActive: receipt.sms,
|
||||
enablePaperWalletOnly,
|
||||
cassettes,
|
||||
twoWayMode: cashOutConfig.active,
|
||||
zeroConfLimits,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue