From 5c72f4752c0bfc75beed2f0bc36353e035e3b7f1 Mon Sep 17 00:00:00 2001 From: Aman-Hundal Date: Thu, 25 Jan 2024 14:36:12 -0800 Subject: [PATCH] Added boolean to the ministry confirmation component and added conditional to angular template to ensure a msg is given if EAO ministry is selected. Ticket completed --- .../ministry-confirmation.component.html | 5 +++++ .../ministry-confirmation/ministry-confirmation.component.ts | 3 +++ 2 files changed, 8 insertions(+) diff --git a/web/src/app/route-components/ministry-confirmation/ministry-confirmation.component.html b/web/src/app/route-components/ministry-confirmation/ministry-confirmation.component.html index 70fb6a9b..d58cf4e2 100644 --- a/web/src/app/route-components/ministry-confirmation/ministry-confirmation.component.html +++ b/web/src/app/route-components/ministry-confirmation/ministry-confirmation.component.html @@ -38,6 +38,11 @@

What ministry or agency has the records you are looking for?

before submitting your request.

+ +

+ Before continuing to submit your FOI request, please note that the Environmental Assessment Office (EAO) is involved in major projects in B.C., such as industrial, energy, mines, water management, waste management, transportation and tourist destinations and resorts that meet the thresholds under the Reviewable Project Regulation of the Environmental Assessment Act. When a major project is proposed in British Columbia, it must undergo an Environmental Assessment (EA). All major projects are searchable on the Environmental Assessment Office Project Information Centre (EPIC) website at: EPIC. If your request does not relate to a major project and/or is not found at this website, please consider submitting to the Ministry of Environment or other appropriate Ministries. For more information about the EAO, you may visit their website at: https://www2.gov.bc.ca/gov/content/environment/natural-resource-stewardship/environmental-assessments +

+

For FOI requests relating to wildfires, records might not be released if there is an active and ongoing investigation into the fire in order to protect the integrity of the investigation. If you have questions whether an FOI request relates to a wildfire under investigation please contact BCWSFOI@gov.bc.ca for more information before submitting the FOI request. diff --git a/web/src/app/route-components/ministry-confirmation/ministry-confirmation.component.ts b/web/src/app/route-components/ministry-confirmation/ministry-confirmation.component.ts index 4cd33a53..00972bc7 100644 --- a/web/src/app/route-components/ministry-confirmation/ministry-confirmation.component.ts +++ b/web/src/app/route-components/ministry-confirmation/ministry-confirmation.component.ts @@ -22,6 +22,7 @@ export class MinistryConfirmationComponent implements OnInit { feeAmount: number = 0; requiresPayment: boolean = null; isforestministry: boolean = false; + isEAOministry: boolean = false; constructor(private fb: FormBuilder, private dataService: DataService, private route: Router) { } @@ -37,6 +38,7 @@ export class MinistryConfirmationComponent implements OnInit { ministries.forEach(m => { m.selected = m.defaulted = this.defaultMinistry && (m.code === this.defaultMinistry.code); m.selected = m.selected || (selectedMinistry ? !!selectedMinistry.find(ms => ms.code === m.code) : false); + this.isEAOministry = m.code === "EAO" && m.selected === true; if (m.code === "FOR" && m.selected === true) { this.isforestministry = true; } @@ -65,6 +67,7 @@ export class MinistryConfirmationComponent implements OnInit { selectMinistry(m: any) { m.selected = !m.selected; + this.isEAOministry = m.code === "EAO" && m.selected === true; if (m.code === "FOR" && m.selected === true) { this.isforestministry = true; }