diff --git a/manage-procurement/procurement/core-contributor-invoice-management/cc-invoice-approval/demo-preload_JSONSchema.json b/manage-procurement/procurement/core-contributor-invoice-management/cc-invoice-approval/demo-preload_JSONSchema.json deleted file mode 100644 index 4504857c..00000000 --- a/manage-procurement/procurement/core-contributor-invoice-management/cc-invoice-approval/demo-preload_JSONSchema.json +++ /dev/null @@ -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" - ] - } - } -} \ No newline at end of file diff --git a/manage-procurement/procurement/core-contributor-invoice-management/cc-invoice-approval/demo-preload_UISchema.json b/manage-procurement/procurement/core-contributor-invoice-management/cc-invoice-approval/demo-preload_UISchema.json deleted file mode 100644 index 2bf58543..00000000 --- a/manage-procurement/procurement/core-contributor-invoice-management/cc-invoice-approval/demo-preload_UISchema.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "scenarioChoices": { - "ui:widget": "radio", - "ui:help": " ", - "ui:options": { - "inline": false - } - }, - "ValidationChoices": { - "ui:widget": "checkboxes", - "ui:help": " " - } -} \ No newline at end of file diff --git a/manage-procurement/procurement/core-contributor-invoice-management/cc-invoice-approval/what-next_JSONSchema.json b/manage-procurement/procurement/core-contributor-invoice-management/cc-invoice-approval/what-next_JSONSchema.json new file mode 100644 index 00000000..ae9e3e1c --- /dev/null +++ b/manage-procurement/procurement/core-contributor-invoice-management/cc-invoice-approval/what-next_JSONSchema.json @@ -0,0 +1,9 @@ +{ + "type": "object", + "properties": { + "isProceed": { + "type": "boolean", + "title": "Submit Invoice?" + } + } +} \ No newline at end of file diff --git a/manage-procurement/procurement/core-contributor-invoice-management/cc-invoice-approval/what-next_UISchema.json b/manage-procurement/procurement/core-contributor-invoice-management/cc-invoice-approval/what-next_UISchema.json new file mode 100644 index 00000000..331ce955 --- /dev/null +++ b/manage-procurement/procurement/core-contributor-invoice-management/cc-invoice-approval/what-next_UISchema.json @@ -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" + ] +} \ No newline at end of file