You will need a valid company email address and one of the following:
-
Companies House registered number
-
Dun and Bradstreet number
-
Charity Commission for England and Wales number
-
Office of The Scottish Charity Regulator (OSCR) number
-
The Charity Commission for Northern Ireland number
-
National Health Service Organisations Registry number
-
Department for Education Unique Reference Number (URN)
+
+
{{details.name}}
+
As an organisation administrator, your name and email address may be provided by CCS to employees of your
organisation so that they can contact you about any registration queries.
diff --git a/src/app/pages/manage-organisation/manage-organisation-registration-step-1/manage-organisation-registration-step-1.component.ts b/src/app/pages/manage-organisation/manage-organisation-registration-step-1/manage-organisation-registration-step-1.component.ts
index 0334518e9..346bbc302 100644
--- a/src/app/pages/manage-organisation/manage-organisation-registration-step-1/manage-organisation-registration-step-1.component.ts
+++ b/src/app/pages/manage-organisation/manage-organisation-registration-step-1/manage-organisation-registration-step-1.component.ts
@@ -9,6 +9,7 @@ import { BaseComponent } from 'src/app/components/base/base.component';
import { Data } from 'src/app/models/data';
import { dataService } from 'src/app/services/data/data.service';
import { ScrollHelper } from 'src/app/services/helper/scroll-helper.services';
+import { SharedDataService } from 'src/app/shared/shared-data.service';
import { UIState } from 'src/app/store/ui.states';
@Component({
@@ -26,14 +27,52 @@ import { UIState } from 'src/app/store/ui.states';
})
export class ManageOrgRegStep1Component extends BaseComponent implements OnInit {
- constructor(private dataService: dataService, private router: Router, protected uiStore: Store, protected viewportScroller: ViewportScroller, protected scrollHelper: ScrollHelper) {
- super(uiStore,viewportScroller,scrollHelper);
+ constructor(private dataService: dataService, private router: Router, protected uiStore: Store, protected viewportScroller: ViewportScroller, protected scrollHelper: ScrollHelper, private SharedDataService:SharedDataService) {
+ super(uiStore,viewportScroller,scrollHelper,);
}
+ schemeDetails = [
+ {
+ name: 'Companies House registered number',
+ id: 'GB-COH',
+ },
+ {
+ name: 'Dun and Bradstreet number',
+ id: 'US-DUN',
+ },
+ {
+ name: 'Charity Commission for England and Wales number',
+ id: 'GB-CHC',
+ },
+ {
+ name: 'Office of The Scottish Charity Regulator (OSCR) number',
+ id: 'GB-SC',
+ },
+ {
+ name: 'The Charity Commission for Northern Ireland number',
+ id: 'GB-NIC',
+ },
+ {
+ name: 'National Health Service Organisations Registry number',
+ id: 'GB-NHS',
+ },
+ {
+ name: 'Department for Education Unique Reference Number (URN)',
+ id: 'GB-EDU',
+ },
+ ];
ngOnInit() { }
public onClick() {
this.router.navigateByUrl(`manage-org/register/initial-search`);
}
+ /**
+ * checking whether scheme should show or not
+ * @param item getting scheme from html
+ * @returns returning boolean true or false
+ */
+ public checkShowStatus(item:any){
+ return this.SharedDataService.checkBlockedSchemeText(item)
+ }
}
diff --git a/src/app/pages/manage-organisation/manage-organisation-registration-step-2/manage-organisation-registration-step-2.component.html b/src/app/pages/manage-organisation/manage-organisation-registration-step-2/manage-organisation-registration-step-2.component.html
index 2028a31e0..74d5d60ba 100644
--- a/src/app/pages/manage-organisation/manage-organisation-registration-step-2/manage-organisation-registration-step-2.component.html
+++ b/src/app/pages/manage-organisation/manage-organisation-registration-step-2/manage-organisation-registration-step-2.component.html
@@ -75,11 +75,12 @@
Please choose one option:
-
+
@@ -223,6 +224,7 @@
+
diff --git a/src/app/pages/manage-organisation/manage-organisation-registration-step-2/manage-organisation-registration-step-2.component.scss b/src/app/pages/manage-organisation/manage-organisation-registration-step-2/manage-organisation-registration-step-2.component.scss
index 49335ee62..12b8476e1 100644
--- a/src/app/pages/manage-organisation/manage-organisation-registration-step-2/manage-organisation-registration-step-2.component.scss
+++ b/src/app/pages/manage-organisation/manage-organisation-registration-step-2/manage-organisation-registration-step-2.component.scss
@@ -63,4 +63,8 @@ label[for="input3"]
.custom_span
{
font-size: 16px;
+}
+
+.govuk-radios__item.custom_radio {
+ min-height: auto;
}
\ No newline at end of file
diff --git a/src/app/pages/manage-organisation/manage-organisation-registration-step-2/manage-organisation-registration-step-2.component.ts b/src/app/pages/manage-organisation/manage-organisation-registration-step-2/manage-organisation-registration-step-2.component.ts
index dc56c0402..cc6a6ea89 100644
--- a/src/app/pages/manage-organisation/manage-organisation-registration-step-2/manage-organisation-registration-step-2.component.ts
+++ b/src/app/pages/manage-organisation/manage-organisation-registration-step-2/manage-organisation-registration-step-2.component.ts
@@ -18,6 +18,7 @@ import { ciiService } from 'src/app/services/cii/cii.service';
import { ViewportScroller } from '@angular/common';
import { ScrollHelper } from 'src/app/services/helper/scroll-helper.services';
import { FormBuilder, FormGroup, Validators } from '@angular/forms';
+import { SharedDataService } from 'src/app/shared/shared-data.service';
@Component({
selector: 'app-manage-organisation-registration-step-2',
@@ -64,7 +65,8 @@ export class ManageOrgRegStep2Component
protected viewportScroller: ViewportScroller,
protected scrollHelper: ScrollHelper,
private formBuilder: FormBuilder,
- private ActivatedRoute: ActivatedRoute
+ private ActivatedRoute: ActivatedRoute,
+ private SharedDataService:SharedDataService
) {
super(uiStore, viewportScroller, scrollHelper);
this.txtValue = '';
@@ -226,4 +228,13 @@ export class ManageOrgRegStep2Component
}
});
}
+
+ /**
+ * checking whether scheme should show or not
+ * @param item getting scheme from html
+ * @returns returning boolean true or false
+ */
+ public checkShowStatus(item:any){
+ return this.SharedDataService.checkBlockedScheme(item)
+ }
}
diff --git a/src/app/shared/shared-data.service.ts b/src/app/shared/shared-data.service.ts
index 487d9438e..8f1cf9ba9 100644
--- a/src/app/shared/shared-data.service.ts
+++ b/src/app/shared/shared-data.service.ts
@@ -1,11 +1,13 @@
import { Injectable } from '@angular/core';
import { BehaviorSubject } from 'rxjs';
+import { environment } from 'src/environments/environment';
@Injectable({
providedIn: 'root',
})
export class SharedDataService {
- // public GName:any=''
+
+ public blockedScheme:any[] = environment.appSetting.blockedScheme
public NominiData: BehaviorSubject = new BehaviorSubject(null);
@@ -51,5 +53,12 @@ export class SharedDataService {
this.selectedRoleforGroup.next(JSON.parse(localStorage.getItem('roleForGroup') || ''))
}
+ public checkBlockedScheme(item:any){
+ return !this.blockedScheme.includes(item.scheme)
+ }
+
+ public checkBlockedSchemeText(item:any){
+ return !this.blockedScheme.includes(item)
+ }
constructor() {}
}
diff --git a/src/environments/environment.ts b/src/environments/environment.ts
index 86b78097c..aba7d4e00 100644
--- a/src/environments/environment.ts
+++ b/src/environments/environment.ts
@@ -65,6 +65,7 @@ export const environment = {
hideDelegation: false,
hideBulkupload: false,
hideAutoValidation: false,
- hideSimplifyRole: false
+ hideSimplifyRole: false,
+ blockedScheme: ["GB-EDU","GB-PPG"]
},
-};
+};
\ No newline at end of file