Add new operator info fields

This commit is contained in:
Rafael Taranto 2019-05-22 16:28:53 -03:00 committed by Josh Harvey
parent 15c8e0d862
commit 8330b95de1
2 changed files with 22 additions and 11 deletions

View file

@ -143,7 +143,9 @@
"operatorInfoActive",
"operatorInfoEmail",
"operatorInfoName",
"operatorInfoPhone"
"operatorInfoPhone",
"operatorInfoWebsite",
"operatorInfoCompanyNumber"
]
}
],
@ -949,9 +951,6 @@
"fieldType": "string",
"fieldClass": null,
"default": "",
"enabledIfAny": [
"operatorInfoActive"
],
"fieldValidation": []
},
{
@ -960,9 +959,6 @@
"displayTopCount": 0,
"fieldType": "string",
"fieldClass": "email",
"enabledIfAny": [
"operatorInfoActive"
],
"fieldValidation": []
},
{
@ -971,9 +967,22 @@
"displayTopCount": 0,
"fieldType": "string",
"fieldClass": null,
"enabledIfAny": [
"operatorInfoActive"
],
"fieldValidation": []
},
{
"code": "operatorInfoWebsite",
"displayBottom": "Website",
"displayTopCount": 0,
"fieldType": "string",
"fieldClass": null,
"fieldValidation": []
},
{
"code": "operatorInfoCompanyNumber",
"displayBottom": "Company Number",
"displayTopCount": 0,
"fieldType": "string",
"fieldClass": null,
"fieldValidation": []
}
]

View file

@ -95,7 +95,9 @@ function poll (req, res, next) {
active: config.operatorInfoActive,
name: config.operatorInfoName,
phone: config.operatorInfoPhone,
email: config.operatorInfoEmail
email: config.operatorInfoEmail,
website: config.operatorInfoWebsite,
companyNumber: config.operatorInfoCompanyNumber
}
}