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

#4739 - Disable general for time being! payment issue #236

Merged
merged 8 commits into from
Nov 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
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
Loading