From f76085624e4fb6eb65c91dedb6cf05daa08b6187 Mon Sep 17 00:00:00 2001 From: sal153 Date: Fri, 25 Oct 2024 15:56:29 +1100 Subject: [PATCH] commit progress "Obtain Relevant Approvals" form #3355 --- forms/nht/procurementsOutputReport.json | 636 ++++++++++++++++++++++++ 1 file changed, 636 insertions(+) diff --git a/forms/nht/procurementsOutputReport.json b/forms/nht/procurementsOutputReport.json index da5d5ad5f..c4f7392b6 100644 --- a/forms/nht/procurementsOutputReport.json +++ b/forms/nht/procurementsOutputReport.json @@ -20431,6 +20431,642 @@ "name": "NHT - Disease management", "description": null }, + { + "collapsedByDefault": false, + "template": { + "dataModel": [ + { + "allowRowDelete": "false", + "columns": [ + { + "dataType": "text", + "name": "participationIndividualsOrGroups", + "description": "Once Individuals or groups is selected, the related number field in the next two columns will become editable to report.", + "constraints": [ + "Individuals", + "Groups" + ], + "validate": "required" + }, + { + "dataType": "number", + "name": "participationIndividualNumber", + "defaultValue": 0, + "behaviour": [ + { + "condition": "participationIndividualsOrGroups == \"Individuals\"", + "type": "enable" + } + ], + "validate": "required,min[0]" + }, + { + "dataType": "text", + "name": "participationGroupNumber", + "behaviour": [ + { + "condition": "participationIndividualsOrGroups == \"Groups\"", + "type": "enable" + } + ], + "constraints": [ + "0", + "1-10", + "11-20", + "21-30", + "31-40", + "41-50" + ] + }, + { + "dataType": "number", + "name": "firstNationIndividualNumber", + "defaultValue": 0, + "behaviour": [ + { + "condition": "participationIndividualsOrGroups == \"Individuals\"", + "type": "enable" + } + ], + "validate": [ + { + "rule": "required" + }, + { + "rule": "min[0]" + }, + { + "param": { + "expression": "participationIndividualNumber", + "type": "computed" + }, + "rule": "max" + } + ] + }, + { + "dataType": "text", + "name": "firstNationGroupNumber", + "behaviour": [ + { + "condition": "participationIndividualsOrGroups == \"Groups\"", + "type": "enable" + } + ], + "constraints": [ + "0", + "1-10", + "11-20", + "21-30", + "31-40", + "41-50" + ], + "validate": [ + { + "rule": "required" + }, + { + "param": { + "expression": "participationGroupNumber", + "type": "computed" + }, + "rule": "max", + "message": "The number of first nation participants cannot be greater than the total number of participants" + } + ] + }, + { + "dataType": "text", + "name": "participationDetails", + "validate": "required, maxSize[3000]" + } + ], + "dataType": "list", + "name": "participationInformationTableCom" + }, + { + "dataType": "list", + "name": "approvalsByOutcome", + "columns": [ + { + "name": "relatedOutcomes", + "dataType": "text", + "description": "Select the outcome/s as defined in your MERI plan that this service was delivered to achieve.", + "validate": "required", + "constraints": { + "textProperty": "label", + "valueProperty": "value", + "type": "pre-populated", + "config": { + "source": { + "context-path": "outcomes" + } + } + } + }, + { + "name": "investmentPriorities2", + "dataType": "text", + "description": "", + "validate": "required", + "constraints": { + "textProperty": "label", + "valueProperty": "value", + "type": "pre-populated", + "config": { + "source": { + "context-path": "owner.investmentPriorities" + } + } + } + }, + { + "dataType": "text", + "name": "otherInvestmentPriority", + "behaviour": [ + { + "type": "enable", + "condition": "\"Other\" in investmentPriorities2" + } + ] + }, + { + "dataType": "text", + "name": "invoicingThisActivity", + "constraints": [ + "Yes", + "No" + ], + "validate": "required" + }, + { + "columns": [ + { + "dataType": "date", + "name": "approvalGivenDate", + "validate": "required" + }, + { + "dataType": "text", + "name": "approvalId", + "validate": "required,maxSize[100]", + "description": "" + }, + { + "dataType": "text", + "name": "approvingOrg", + "validate": "required,maxSize[200]", + "description": "" + }, + { + "dataType": "text", + "name": "approvalType", + "description": "", + "constraints": [ + "Access to protected species and ecological communities", + "Animal/Human Ethics Approvals", + "Access to private land/sea", + "Access to public land/sea (e.g. protected areas)", + "Access to First Nations Australians land/sea", + "The use of specialised and regulated equipment (e.g. drones, firearms, vessels, vehicles)", + "Other purposes as agreed to by the Department" + ], + "validate": "required" + }, + { + "dataType": "text", + "name": "otherApprovalType", + "behaviour": [ + { + "condition": "approvalType == \"Other purposes as agreed to by the Department\"", + "type": "enable" + } + ], + "validate": "required,maxSize[100]" + }, + { + "dataType": "date", + "name": "approvalValidateDateFrom", + "validate": "required" + }, + { + "dataType": "date", + "name": "approvalValidateDateTo", + "validate": "required" + } + ], + "dataType": "list", + "name": "approvalTableDetails" + }, + { + "dataType": "number", + "name": "approvalsForOutcome", + "decimalPlaces": 0, + "computed": { + "expression": "sum(approvalTableDetails, \"approvalType ? 1 : 0\")" + } + } + ] + }, + { + "dataType": "number", + "name": "totalApprovalsObtained", + "validate": "min[0]", + "decimalPlaces": 0, + "defaultValue": 1, + "computed": { + "expression": "sum(approvalsByOutcome, \"approvalsForOutcome\")" + } + }, + { + "dataType": "number", + "name": "totalApprovalsObtainedInvoiced", + "defaultValue": "", + "validate": [ + { + "rule": "required" + }, + { + "rule": "min[0]" + }, + { + "param": { + "expression": "totalApprovalsObtained", + "type": "computed" + }, + "rule": "max" + } + ] + }, + { + "dataType": "text", + "name": "totalInvoicedApprovalsObtainedMismatched", + "description": "Please provide the reason/s why you are not invoicing for the same number that have been completed and delivered, e.g. the personnel and equipment were available to deliver more than was contracted.", + "validate": "maxSize[400],required,min[0]", + "behaviour": [ + { + "condition": "+totalApprovalsObtainedInvoiced < +totalApprovalsObtained", + "type": "enable" + } + ] + }, + { + "dataType": "text", + "name": "comments", + "validate": "maxSize[1500]" + }, + { + "dataType": "image", + "name": "photographicEvidence" + }, + { + "dataType": "boolean", + "name": "dataUploaded", + "description": "" + }, + { + "name": "projectAssuranceDetails", + "dataType": "text", + "validate": "required,maxSize[5000]" + }, + { + "dataType": "list", + "name": "assuranceDocuments", + "columns": [ + { + "dataType": "document", + "name": "attachments", + "description": "Please attach any Evidence of Service Delivery here." + } + ] + } + ], + "modelName": "NHT - Obtaining Relevant Approvals", + "title": "Obtain Relevant Approvals", + "viewModel": [ + { + "type": "row", + "items": [ + { + "type": "literal", + "source": "

Participation information

" + } + ] + }, + { + "disableTableUpload": true, + "columns": [ + { + "width": "10%", + "source": "participationIndividualsOrGroups", + "title": "Are individuals or groups delivering this service?", + "type": "selectOne" + }, + { + "width": "20%", + "type": "col", + "title": "Total number of people participating in the delivery of this service
(including First Nations people, paid employees, unpaid employees, and volunteers)*", + "helpText": "Please record either the total number of individuals or the number of individuals in the group that delivered this service. If you have a mix of Individuals and groups, you should report them separately by adding a row.", + "items": [ + { + "source": "participationIndividualNumber", + "type": "number" + }, + { + "source": "participationGroupNumber", + "type": "selectOne" + } + ] + }, + { + "type": "col", + "width": "20%", + "title": "Total number of First Nations people participating in the delivery of this service, including paid employees, unpaid employees and volunteers*", + "helpText": "Please record either the total number of individuals or the number of individuals in the group that delivered this service. If you have a mix of Individuals and groups, you should report them separately by adding a row.", + "items": [ + { + "source": "firstNationIndividualNumber", + "type": "number" + }, + { + "source": "firstNationGroupNumber", + "type": "selectOne" + } + ] + }, + { + "width": "20%", + "source": "participationDetails", + "rows": 4, + "title": "If no First Nations people participated in the delivery of this service,
what are the reasons? If there was participation, please provide details.", + "helpText": "If there were no First Nations people participating in the delivery of this service, please explain the reasons. If there were First Nations people involved, please outline how they were involved.", + "type": "textarea" + } + ], + "source": "participationInformationTableCom", + "type": "table" + }, + { + "type": "row", + "items": [ + { + "type": "literal", + "source": "

Totals Summary

" + } + ] + }, + { + "type": "row", + "items": [ + { + "type": "col", + "css": "span4 col-border-right", + "items": [ + { + "type": "row", + "items": [ + { + "preLabel": "(i) Total number of relevant approvals obtained", + "source": "totalApprovalsObtained", + "type": "number" + } + ] + } + ] + }, + { + "type": "col", + "css": "span4 col-border-right", + "items": [ + { + "type": "row", + "items": [ + { + "preLabel": "(ii) Total number of relevant approvals invoiced for this reporting period", + "source": "totalApprovalsObtainedInvoiced", + "type": "number" + } + ] + } + ] + } + ] + }, + { + "type": "row", + "items": [ + { + "preLabel": "If the total invoiced is different to the total completed, please provide the reason", + "source": "totalInvoicedApprovalsObtainedMismatched", + "type": "textarea", + "rows": 4, + "placeholder": "" + } + ] + }, + { + "type": "repeat", + "source": "approvalsByOutcome", + "userAddedRows": true, + "addRowText": "Add a new outcome", + "items": [ + { + "type": "row", + "items": [ + { + "css": "span3", + "type": "col", + "items": [ + { + "type": "row", + "items": [ + { + "source": "relatedOutcomes", + "type": "selectOne", + "preLabel": "Which outcome statement/s does this activity relate to?" + } + ] + } + ] + }, + { + "type": "col", + "css": "span3 col-border-right", + "items": [ + { + "type": "row", + "items": [ + { + "source": "investmentPriorities2", + "preLabel": "Which investment priority does this activity relate to?", + "type": "select2Many" + } + ] + } + ] + }, + { + "css": "span3", + "type": "col", + "items": [ + { + "type": "row", + "items": [ + { + "source": "invoicingThisActivity", + "preLabel": "Are you invoicing for this activity in this reporting period?", + "type": "selectOne" + } + ] + } + ] + } + ] + }, + { + "type": "section", + "items": [ + { + "columns": [ + { + "width": "15%", + "source": "approvalGivenDate", + "title": "Date approval given", + "type": "date" + }, + { + "width": "15%", + "source": "approvalId", + "title": "Approval ID reference", + "type": "text" + }, + { + "width": "20%", + "source": "approvingOrg", + "title": "Organization/Body that gave the approval", + "type": "textarea" + }, + { + "width": "20%", + "title": "Type of approval", + "type": "col", + "items": [ + { + "type": "row", + "items": [ + { + "source": "approvalType", + "type": "select2" + } + ] + }, + { + "type": "row", + "items": [ + { + "placeholder": "Type of approval, if other", + "source": "otherApprovalType", + "type": "textarea" + } + ] + } + ] + }, + { + "width": "15%", + "source": "approvalValidateDateFrom", + "title": "Date approval validate from", + "type": "date" + }, + { + "width": "15%", + "source": "approvalValidateDateTo", + "title": "Date approval validate to", + "type": "date" + } + + ], + "userAddedRows": true, + "source": "approvalTableDetails", + "type": "table" + } + ] + }]}, + { + "type": "row", + "items": [ + { + "preLabel": "Optionally attach photos", + "source": "photographicEvidence", + "type": "image" + } + ] + }, + { + "type": "row", + "items": [ + { + "preLabel": "Clarification, if needed", + "type": "textarea", + "rows": 4, + "css": "span8", + "source": "comments", + "placeholder": "Clarification comments include information for your project manager about the service like:\n • any reported items that are not being invoiced (eg, over-achievement) \n • any extraneous circumstances that affected delivery of the service \n" + } + ] + }, + { + "type": "row", + "items": [ + { + "type": "literal", + "source": "

Available Evidence

This field is mandatory for all projects as part of the invoicing process. Please list evidence you have retained for this service and provide information to where the evidence is stored (links/file location data). Refer to the Project Service Evidence Guide and the Project Service Summaries for information on the evidence requirements.*" + }, + { + "preLabel": "Data have been uploaded", + "source": "dataUploaded", + "type": "boolean" + } + ] + }, + { + "type": "row", + "items": [ + { + "preLabel": "", + "source": "projectAssuranceDetails", + "type": "textarea", + "rows": 4, + "placeholder": "List the documentary evidence you have available for this project service. Include specifically, the document titles and location (e.g. internal IT network pathway, URLs) to assist with locating this material for future audits/assurance purposes." + } + ] + }, + { + "type": "table", + "source": "assuranceDocuments", + "userAddedRows": true, + "disableTableUpload": true, + "columns": [ + { + "title": "Attached documents", + "source": "attachments", + "type": "document" + } + ] + } + ] + }, + "modelName": null, + "templateName": "nhtObtainingRelevantApprovals", + "optional": true, + "optionalQuestionText": null, + "title": null, + "collapsibleHeading": null, + "name": "NHT - Obtaining relevant approvals", + "description": null + }, + + { "collapsedByDefault": false, "template": {