Skip to content

Commit

Permalink
Merge pull request #236 from bcgov/dev
Browse files Browse the repository at this point in the history
#4739 - Disable general for time being! payment issue
  • Loading branch information
abin-aot authored Nov 17, 2023
2 parents 70964c5 + 27f47cb commit 4bbe4d8
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,12 @@ <h2>What type of information are you looking for?</h2>
<form [formGroup]="foiForm" novalidate (ngSubmit)="doContinue()">
<div class="form-group">
<label>
<input type="radio" value="general" formControlName="requestType" />
<input type="radio" value="general" formControlName="requestType" disabled="disabled" />
General information about government business
</label>
<label class="warning">
Due to a technical issue we have temporarily disabled submitting <b>general requests</b> through the online form. Please submit your FOI request through email to <a href="mailto:[email protected]">[email protected]</a>. We expect that the online form will be back online by November 21st.
</label>
</div>
<h2>
or
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.warning {
color: red;
font-size: 85%;
}
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ export class GettingStarted3Component implements OnInit {
this.targetKey,
this.foiForm
);
console.log(this.targetKey)
console.log(state.requestData[this.targetKey].requestType)
this.base.goFoiForward(state.requestData[this.targetKey].requestType);
}

Expand Down
5 changes: 4 additions & 1 deletion web/src/app/utils-components/base/base.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,13 @@ export class BaseComponent implements OnInit {
}

goFoiForward(selection?: string) {
if(selection !== "general")
{
this.foiRouter.progress({ direction: 1, selection });
}
}

goSkipForward() {
goSkipForward() {
this.foiRouter.progress({ direction: 2 });
}

Expand Down

0 comments on commit 4bbe4d8

Please sign in to comment.