feat: move paper wallet only to admin
This commit is contained in:
parent
4450e19f1f
commit
7157a11895
4 changed files with 118 additions and 3 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