Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RCS / IPPRS org changes #3378

Merged
merged 39 commits into from
Dec 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
aafa048
#3369
temi Nov 22, 2024
7fb8879
#3369
temi Nov 25, 2024
bcf9e9d
Merge remote-tracking branch 'origin/dev' into feature/issue3369
chrisala Nov 29, 2024
c8cc478
WIP for org targets #3369
chrisala Dec 1, 2024
b492164
Merge remote-tracking branch 'origin/dev' into feature/issue3369
chrisala Dec 4, 2024
4eb5c56
IPPRS / RCS reporting WIP #3369
chrisala Dec 6, 2024
72f92d1
IPPRS / RCS reporting WIP #3369
chrisala Dec 6, 2024
134dec5
#3369
temi Dec 6, 2024
8fd6af3
Merge remote-tracking branch 'origin/feature/issue3369' into feature/…
temi Dec 6, 2024
93fa773
Support score names #3369
chrisala Dec 9, 2024
e1c9e1f
Merge remote-tracking branch 'origin/dev' into feature/issue3369
chrisala Dec 9, 2024
6070373
Merge remote-tracking branch 'origin/dev' into feature/issue3369
chrisala Dec 9, 2024
3e9cb29
Updated tests #3369
chrisala Dec 9, 2024
be014dd
Renamed model to fix tests #3369
chrisala Dec 9, 2024
6936cb3
#3369
temi Dec 9, 2024
22fb5df
Merge remote-tracking branch 'origin/feature/issue3369' into feature/…
temi Dec 9, 2024
3dac5be
Fixed paths for context data #3369
chrisala Dec 9, 2024
f617372
Added funding table to UI #3369
chrisala Dec 9, 2024
cfaa2c2
Support blanks and allow them to be excluded from the average #3369
chrisala Dec 10, 2024
952f90b
Add user feedback to save #3369
chrisala Dec 10, 2024
6342fc9
Merge remote-tracking branch 'origin/dev' into feature/issue3369
chrisala Dec 10, 2024
df6d1eb
Added funding for report year to form context #3369
chrisala Dec 10, 2024
0251629
#3369
temi Dec 10, 2024
76f899c
#3369
temi Dec 10, 2024
b60c632
Merge remote-tracking branch 'origin/feature/issue3369' into feature/…
temi Dec 10, 2024
8bd1a2f
Only include scores that are output targets #3369
chrisala Dec 10, 2024
9a9caa5
Validation and label format changes #338
chrisala Dec 10, 2024
f4066f5
label change and targets fixed to 2 decimal places #3369
chrisala Dec 10, 2024
e5ce4c3
Reverted 2 decimal places in targets #3369
chrisala Dec 11, 2024
f036ca9
Fixed access to org targets to only officer and above #3369
chrisala Dec 11, 2024
129207c
Minor label changes for #3369
chrisala Dec 12, 2024
b23fa5f
ala-security-plugin:6.3.0
temi Dec 12, 2024
5d3e4f2
Merge remote-tracking branch 'origin/dev' into feature/issue3369
chrisala Dec 12, 2024
9b80989
Cache org name search results #3369
chrisala Dec 12, 2024
f276669
Cache org name search results #3369
chrisala Dec 12, 2024
b5c7768
Cache org name search results #3369
chrisala Dec 12, 2024
c035a38
Removed business names from org about page #2880
chrisala Dec 12, 2024
89fb664
Trying to fix list styling in test #2880
chrisala Dec 12, 2024
08d0e57
Trying to fix list styling in test #2880
chrisala Dec 12, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,037 changes: 1,037 additions & 0 deletions forms/other/regionalCapacityServicesReportV1.json

Large diffs are not rendered by default.

953 changes: 953 additions & 0 deletions forms/other/regionalCapacityServicesReportV2.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,41 @@
"collapsedByDefault": false,
"templateName": "regionalCapacityServicesReport",
"template": {
"pre-populate": [
{
"source": {
"context-path": "owner"
},
"mapping": [
{
"target": "targetIndigenousParticipationPercentage",
"source-path": "periodTargets.targetIndigenousParticipationPercentage"
}
]
},
{
"source": {
"context-path": "owner"
},
"mapping": [
{
"target": "targetIndigenousProcurementPercentage",
"source-path": "periodTargets.targetIndigenousProcurementPercentage"
}
]
},
{
"source": {
"context-path": "owner"
},
"mapping": [
{
"target": "organisationPanelProjectValue",
"source-path": "totalContractValue"
}
]
}
],
"dataModel": [
{
"name": "governanceAndFinancialFrameworksOnTrack",
Expand Down Expand Up @@ -137,20 +172,10 @@
}
]
},
{
"dataType": "boolean",
"name": "reportedToIpprs",
"description": ""
},
{
"dataType": "document",
"name": "ipprsReport",
"description": ""
},
{
"dataType": "number",
"name": "organisationFteWorkforce",
"description": "Enter total RDP staff (full time equivalent) deployed on Services for the Deed and all Contracts (including non-DCCEEW Contracts) during this reporting period.",
"description": "Enter total RDP staff (full time equivalent) deployed on Services for the Deed and all Contracts (including <span style='white-space: nowrap;'>non-DCCEEW</span> Contracts) during this reporting period.",
"validate": [
{
"rule": "required"
Expand All @@ -164,14 +189,14 @@
"type": "computed"
},
"rule": "min",
"message": "numeric value must be higher or equal to the numeric value entered for 'What was your organisation’s full time equivalent Indigenous workforce deployed on the Services this reporting period?'"
"message": "Numeric value must be higher or equal to the numeric value entered for 'What was your organisation’s full time equivalent Indigenous workforce deployed on the Services this reporting period?'"
}
]
},
{
"dataType": "number",
"name": "organisationFteIndigenousWorkforce",
"description": "Enter total RDP Indigenous staff (full time equivalent) deployed on Services for the Deed and all Contracts (including non-DCCEEW Contracts) during this reporting period.",
"description": "Enter total RDP Indigenous staff (full time equivalent) deployed on Services for the Deed and all Contracts (including <span style='white-space: nowrap;'>non-DCCEEW</span> Contracts) during this reporting period.",
"validate": [
{
"rule": "required"
Expand All @@ -185,23 +210,63 @@
"type": "computed"
},
"rule": "max",
"message": "numeric value must be less than or equal to the numeric value entered for 'What was your organisation’s full time equivalent workforce deployed on the Services this reporting period?'"
"message": "Numeric value must be less than or equal to the numeric value entered for 'What was your organisation’s full time equivalent workforce deployed on the Services this reporting period?'"
}
]
},
{
"dataType": "number",
"name": "servicesContractedValueFirstNations",
"description": "Enter total dollar value (GST inclusive) of goods and services contracted to First Nations people/Indigenous enterprises, during this reporting period, for the Deed and all Contracts (including non-DCCEEW Contracts).",
"description": "Enter total dollar value (GST inclusive) of goods and services contracted to First Nations people/Indigenous enterprises, during this reporting period, for the Deed and all Contracts (including <span style='white-space: nowrap;'>non-DCCEEW</span> Contracts).",
"validate": [
{
"rule": "required"
},
{
"rule": "min[0]"
},
{
"param": {
"expression": "organisationPanelProjectValue",
"type": "computed"
},
"rule": "max",
"message": "The sum of the value of Services contracted to First Nations people/Indigenous enterprises for all reporting periods can not exceed the total $ value (GST inclusive) of the Deed and all Contracts (including <span style='white-space: nowrap;'>non-DCCEEW</span> Contracts)"
}
]
},
{
"dataType": "number",
"name": "organisationPanelProjectValue",
"description": "Total dollar value (GST inclusive) for the Deed and all Contracts (including <span style='white-space: nowrap;'>non-DCCEEW</span> Contracts).",
"validate": "required,min[0]"
},
{
"dataType": "number",
"name": "supplyChainPerformancePercentage",
"description": "Calculated using value of Services contracted to First Nations people/Indigenous enterprises ÷ stored Total Organisation Panel/Project Value $ x 100",
"computed": {
"expression": "servicesContractedValueFirstNations / organisationPanelProjectValue * 100"
}
},
{
"dataType": "number",
"name": "workforcePerformancePercentage",
"description": "Calculated using FTE Indigenous workforce ÷ FTE workforce x 100",
"computed": {
"expression": "organisationFteIndigenousWorkforce / organisationFteWorkforce * 100"
}
},
{
"dataType": "number",
"name": "targetIndigenousParticipationPercentage",
"description": "Target Indigenous Participation Percentage for this reporting period"
},
{
"dataType": "number",
"name": "targetIndigenousProcurementPercentage",
"description": "Target Indigenous Procurement Percentage for this reporting period"
},
{
"name": "staffDevelopmentOpportunities",
"description": "This includes on-the-job, informal, and formal training. If no activities were undertaken, enter ‘Nil’.",
Expand Down Expand Up @@ -518,33 +583,45 @@
}
]
},
{
"type": "row",
"items": [
{
"type": "literal",
"source": "<b>Q5(b). Please complete workforce and supply chain data (Deed of Standing Offer Clause 38 Indigenous Procurement Policy). Please do not provide personal or <span style='white-space: nowrap;'>commercial-in-confidence</span> information when answering this question. Please retain documentation as evidence to support assurance activities undertaken to verify the reported information.</b>"
}
]
},
{
"type": "row",
"items": [
{
"css": "span7",
"preLabel": "Q5(b). Please confirm that your organisation has reported via the IPPRS this period (Clause 38 Indigenous Procurement Policy), and that this report has been uploaded to the documents tab in MERIT.",
"source": "reportedToIpprs",
"type": "boolean"
"preLabel": "What was your organisation’s full time equivalent workforce deployed on the Services this reporting period?",
"source": "organisationFteWorkforce",
"type": "number"
}
]
},
{
"type": "row",
"items": [
{
"type": "document",
"source": "ipprsReport",
"preLabel": "Please attach the document here."
"css": "span7",
"preLabel": "What was your organisation’s full time equivalent Indigenous workforce deployed on the Services this reporting period?",
"source": "organisationFteIndigenousWorkforce",
"type": "number"
}
]
},
{
"type": "row",
"items": [
{
"type": "literal",
"source": "<b>Q5(c). Please complete workforce and supply chain data (Deed of Standing Offer Clause 38 Indigenous Procurement Policy). Please do not provide personal or commercial-in-confidence information when answering this question. Please retain documentation as evidence to support assurance activities undertaken to verify the reported information.</b>"
"css": "span7",
"preLabel": "Workforce Performance % this reporting period",
"source": "workforcePerformancePercentage",
"type": "number"
}
]
},
Expand All @@ -553,8 +630,32 @@
"items": [
{
"css": "span7",
"preLabel": "What was your organisation’s full time equivalent workforce deployed on the Services this reporting period?",
"source": "organisationFteWorkforce",
"preLabel": "Target Workforce Performance % this reporting period",
"source": "targetIndigenousParticipationPercentage",
"type": "number",
"readonly": true
}
]
},
{
"type": "row",
"items": [
{
"css": "span7",
"preLabel": "Your total organisation panel/project $ value (GST inclusive).",
"source": "organisationPanelProjectValue",
"type": "number",
"readonly": true
}
]
},
{
"type": "row",
"items": [
{
"css": "span7",
"preLabel": "What was the dollar value (GST inclusive) of Services contracted to First Nations people/Indigenous enterprises during this reporting period?",
"source": "servicesContractedValueFirstNations",
"type": "number"
}
]
Expand All @@ -564,8 +665,8 @@
"items": [
{
"css": "span7",
"preLabel": "What was your organisation’s full time equivalent Indigenous workforce deployed on the Services this reporting period?",
"source": "organisationFteIndigenousWorkforce",
"preLabel": "Supply Chain Performance % this reporting period",
"source": "supplyChainPerformancePercentage",
"type": "number"
}
]
Expand All @@ -575,9 +676,10 @@
"items": [
{
"css": "span7",
"preLabel": "What was the dollar value of Services contracted to First Nations people/Indigenous enterprises during this reporting period?",
"source": "servicesContractedValueFirstNations",
"type": "currency"
"preLabel": "Target Supply Chain Performance % this reporting period",
"source": "targetIndigenousProcurementPercentage",
"type": "number",
"readonly": true
}
]
},
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ org.gradle.jvmargs=-Xmx2048M
seleniumVersion=3.12.0
seleniumSafariDriverVersion=3.14.0
snapshotCacheTime=1800
alaSecurityLibsVersion=6.3.0-SNAPSHOT
alaSecurityLibsVersion=6.3.0
37 changes: 23 additions & 14 deletions grails-app/assets/components/javascript/associated-orgs.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,24 +58,33 @@ ko.components.register('associated-orgs', {
this.toDate = ko.observable(associatedOrg.toDate).extend({simpleDate:false});
this.label = ko.observable(this.name());

this.updateLabel = function() {
if (this.organisationId) {
var self = this;
findMatchingOrganisation(self.organisationId(), function(matchingOrg) {
if (matchingOrg && matchingOrg._source) {
if (matchingOrg._source.name && matchingOrg._source.name != self.name()) {
self.label(self.name() + ' (' + matchingOrg._source.name + ')');
}
}
});
var previousOrganisationId = null;
var organisationName = null;
var queryInProgress = false;
var self = this;
function setLabel() {
if (organisationName && organisationName != self.name()) {
self.label(self.name() + ' (' + organisationName + ')');
}
else {
this.label(this.name());
self.label(self.name());
}
}
function updateLabel() {
if (!queryInProgress && self.organisationId() && self.organisationId() != previousOrganisationId) {
queryInProgress = true;
findMatchingOrganisation(self.organisationId(), function(matchingOrg) {
previousOrganisationId = self.organisationId();
organisationName = matchingOrg && matchingOrg._source ? matchingOrg._source.name : null;
setLabel();
queryInProgress = false;
});
}
setLabel();
}
this.organisationId.subscribe(this.updateLabel, this);
this.name.subscribe(this.updateLabel, this);
this.updateLabel();
this.organisationId.subscribe(updateLabel, this);
this.name.subscribe(setLabel, this);
updateLabel();


this.toJSON = function() {
Expand Down
Loading
Loading