User: alex clicked save for manage-procurement/procurement/core-contributor-invoice-management/cc-invoice-approval/what-next_JSONSchema.json

This commit is contained in:
demo 2022-11-25 14:55:40 +00:00
parent 8882293883
commit 2fc3f4b8ee
4 changed files with 24 additions and 41 deletions

View File

@ -1,28 +0,0 @@
{
"title": "Submit Invoice",
"description": "Configuration options for submitting an invoice.",
"type": "object",
"properties": {
"ValidationChoices": {
"type": "array",
"title": "Select validation options",
"items": {
"type": "string",
"enum": [
" Number in contributor name",
" Too many decimals in invoice amount",
" Due date before today's date"
]
},
"uniqueItems": true
},
"scenarioChoices": {
"type": "string",
"title": "Select Currency",
"enum": [
" Correct invoice amount",
" incorrect invoice amount"
]
}
}
}

View File

@ -1,13 +0,0 @@
{
"scenarioChoices": {
"ui:widget": "radio",
"ui:help": " ",
"ui:options": {
"inline": false
}
},
"ValidationChoices": {
"ui:widget": "checkboxes",
"ui:help": " "
}
}

View File

@ -0,0 +1,9 @@
{
"type": "object",
"properties": {
"isProceed": {
"type": "boolean",
"title": "Submit Invoice?"
}
}
}

View File

@ -0,0 +1,15 @@
{
"isInvoiceApproved": {
"ui:autofocus": true,
"ui:widget": "radio",
"ui:help": "Select Yes to approve, No to reject"
},
"approvalComment": {
"ui:widget": "textarea",
"ui:help": "Enter comments related to approval or rejection here"
},
"ui:order": [
"isInvoiceApproved",
"approvalComment"
]
}