Enable receipt printing (#298)
* Remove cross reference option from compliance * Add receipt printing
This commit is contained in:
parent
2004067755
commit
55cdc2fa52
5 changed files with 22 additions and 33 deletions
|
|
@ -1,3 +1,3 @@
|
||||||
ls src/Css/* | entr elm-css src/Stylesheets.elm
|
ls src/Css/* | entr elm-css src/Stylesheets.elm
|
||||||
find src | entr elm-make src/Main.elm --output ../lamassu-server/public/elm.js
|
find src | entr elm-make src/Main.elm --output ../public/elm.js
|
||||||
find src | entr elm-make src/Lamassu.elm --output ../lamassu-server/public/lamassu-elm.js
|
find src | entr elm-make src/Lamassu.elm --output ../public/lamassu-elm.js
|
||||||
|
|
|
||||||
|
|
@ -1147,8 +1147,8 @@ complianceTableView model =
|
||||||
, row "ID Card Photo" "idCardPhotoVerificationActive" "idCardPhotoVerificationThreshold"
|
, row "ID Card Photo" "idCardPhotoVerificationActive" "idCardPhotoVerificationThreshold"
|
||||||
, row "Front Facing Camera" "frontCameraVerificationActive" "frontCameraVerificationThreshold"
|
, row "Front Facing Camera" "frontCameraVerificationActive" "frontCameraVerificationThreshold"
|
||||||
, row "Sanctions" "sanctionsVerificationActive" "sanctionsVerificationThreshold"
|
, row "Sanctions" "sanctionsVerificationActive" "sanctionsVerificationThreshold"
|
||||||
, row "Cross Reference" "crossRefVerificationActive" "crossRefVerificationThreshold"
|
|
||||||
, row "Hard Limit" "hardLimitVerificationActive" "hardLimitVerificationThreshold"
|
, row "Hard Limit" "hardLimitVerificationActive" "hardLimitVerificationThreshold"
|
||||||
|
, row "Receipt Printing" "receiptPrintingActive" ""
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -74,12 +74,11 @@
|
||||||
"idCardPhotoVerificationThreshold",
|
"idCardPhotoVerificationThreshold",
|
||||||
"sanctionsVerificationActive",
|
"sanctionsVerificationActive",
|
||||||
"sanctionsVerificationThreshold",
|
"sanctionsVerificationThreshold",
|
||||||
"crossRefVerificationActive",
|
|
||||||
"crossRefVerificationThreshold",
|
|
||||||
"frontCameraVerificationActive",
|
"frontCameraVerificationActive",
|
||||||
"frontCameraVerificationThreshold",
|
"frontCameraVerificationThreshold",
|
||||||
"hardLimitVerificationActive",
|
"hardLimitVerificationActive",
|
||||||
"hardLimitVerificationThreshold"
|
"hardLimitVerificationThreshold",
|
||||||
|
"receiptPrintingActive"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
@ -150,6 +149,20 @@
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"fields": [
|
"fields": [
|
||||||
|
{
|
||||||
|
"code": "receiptPrintingActive",
|
||||||
|
"displayTop": "Receipt Printing",
|
||||||
|
"displayBottom": "Receipt Priting",
|
||||||
|
"displayTopCount": 2,
|
||||||
|
"fieldType": "onOff",
|
||||||
|
"fieldClass": null,
|
||||||
|
"fieldValidation": [
|
||||||
|
{
|
||||||
|
"code": "required"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"default": false
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"code": "hardLimitVerificationActive",
|
"code": "hardLimitVerificationActive",
|
||||||
"displayTop": "Hard Limit",
|
"displayTop": "Hard Limit",
|
||||||
|
|
@ -175,31 +188,6 @@
|
||||||
],
|
],
|
||||||
"fieldValidation": [{"code": "required"}]
|
"fieldValidation": [{"code": "required"}]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"code": "crossRefVerificationActive",
|
|
||||||
"displayTop": "Cross Reference",
|
|
||||||
"displayBottom": "Cross Reference",
|
|
||||||
"displayTopCount": 2,
|
|
||||||
"fieldType": "onOff",
|
|
||||||
"fieldClass": null,
|
|
||||||
"fieldValidation": [
|
|
||||||
{
|
|
||||||
"code": "required"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"default": false
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"code": "crossRefVerificationThreshold",
|
|
||||||
"displayBottom": "Daily Value Threshold",
|
|
||||||
"displayTopCount": 0,
|
|
||||||
"fieldType": "integer",
|
|
||||||
"fieldClass": "fiat",
|
|
||||||
"enabledIfAny": [
|
|
||||||
"crossRefVerificationActive"
|
|
||||||
],
|
|
||||||
"fieldValidation": [{"code": "required"}]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"code": "sanctionsVerificationActive",
|
"code": "sanctionsVerificationActive",
|
||||||
"displayTop": "Sanctions Verification",
|
"displayTop": "Sanctions Verification",
|
||||||
|
|
|
||||||
|
|
@ -87,6 +87,7 @@ function poll (req, res, next) {
|
||||||
crossRefVerificationThreshold: config.crossRefVerificationThreshold,
|
crossRefVerificationThreshold: config.crossRefVerificationThreshold,
|
||||||
frontCameraVerificationActive: config.frontCameraVerificationActive,
|
frontCameraVerificationActive: config.frontCameraVerificationActive,
|
||||||
frontCameraVerificationThreshold: config.frontCameraVerificationThreshold,
|
frontCameraVerificationThreshold: config.frontCameraVerificationThreshold,
|
||||||
|
receiptPrintingActive: config.receiptPrintingActive,
|
||||||
terms,
|
terms,
|
||||||
cassettes,
|
cassettes,
|
||||||
twoWayMode: config.cashOutEnabled,
|
twoWayMode: config.cashOutEnabled,
|
||||||
|
|
|
||||||
|
|
@ -32873,10 +32873,10 @@ var _user$project$Config$complianceTableView = function (model) {
|
||||||
_0: A3(row, 'Sanctions', 'sanctionsVerificationActive', 'sanctionsVerificationThreshold'),
|
_0: A3(row, 'Sanctions', 'sanctionsVerificationActive', 'sanctionsVerificationThreshold'),
|
||||||
_1: {
|
_1: {
|
||||||
ctor: '::',
|
ctor: '::',
|
||||||
_0: A3(row, 'Cross Reference', 'crossRefVerificationActive', 'crossRefVerificationThreshold'),
|
_0: A3(row, 'Hard Limit', 'hardLimitVerificationActive', 'hardLimitVerificationThreshold'),
|
||||||
_1: {
|
_1: {
|
||||||
ctor: '::',
|
ctor: '::',
|
||||||
_0: A3(row, 'Hard Limit', 'hardLimitVerificationActive', 'hardLimitVerificationThreshold'),
|
_0: A3(row, 'Receipt Printing', 'receiptPrintingActive', ''),
|
||||||
_1: {ctor: '[]'}
|
_1: {ctor: '[]'}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue