From 01fb068f45be47fc910b54c3526f05fee4eb99b1 Mon Sep 17 00:00:00 2001 From: Adwaith Rao Date: Wed, 8 Dec 2021 15:40:19 +0530 Subject: [PATCH] Add preliminary letter preparation step --- src/app/app.module.ts | 6 +++- .../notifications/notifications.component.ts | 4 +++ ...ss-entities-and-individuals.component.html | 9 ++++- ...ness-entities-and-individuals.component.ts | 34 ++++++++++++++++--- .../prepare-preliminary-letter.component.html | 11 ++++++ .../prepare-preliminary-letter.component.scss | 22 ++++++++++++ ...epare-preliminary-letter.component.spec.ts | 25 ++++++++++++++ .../prepare-preliminary-letter.component.ts | 15 ++++++++ ...spond-to-preliminary-letter.component.html | 1 + ...spond-to-preliminary-letter.component.scss | 0 ...nd-to-preliminary-letter.component.spec.ts | 25 ++++++++++++++ ...respond-to-preliminary-letter.component.ts | 15 ++++++++ .../multi-file-upload.component.html | 5 +-- .../multi-file-upload.component.ts | 7 +++- 14 files changed, 170 insertions(+), 9 deletions(-) create mode 100644 src/app/pages/investigate-business-entities-and-individuals/prepare-preliminary-letter/prepare-preliminary-letter.component.html create mode 100644 src/app/pages/investigate-business-entities-and-individuals/prepare-preliminary-letter/prepare-preliminary-letter.component.scss create mode 100644 src/app/pages/investigate-business-entities-and-individuals/prepare-preliminary-letter/prepare-preliminary-letter.component.spec.ts create mode 100644 src/app/pages/investigate-business-entities-and-individuals/prepare-preliminary-letter/prepare-preliminary-letter.component.ts create mode 100644 src/app/pages/investigate-business-entities-and-individuals/respond-to-preliminary-letter/respond-to-preliminary-letter.component.html create mode 100644 src/app/pages/investigate-business-entities-and-individuals/respond-to-preliminary-letter/respond-to-preliminary-letter.component.scss create mode 100644 src/app/pages/investigate-business-entities-and-individuals/respond-to-preliminary-letter/respond-to-preliminary-letter.component.spec.ts create mode 100644 src/app/pages/investigate-business-entities-and-individuals/respond-to-preliminary-letter/respond-to-preliminary-letter.component.ts diff --git a/src/app/app.module.ts b/src/app/app.module.ts index 1898d2f..5b3b7ff 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -28,6 +28,8 @@ import { MultiFileUploadComponent } from './widgets/form/multi-file-upload/multi import { ReviewNonComplianceComponent } from './pages/investigate-business-entities-and-individuals/review-non-compliance/review-non-compliance.component'; import { ConcurComplianceReviewComponent } from './pages/investigate-business-entities-and-individuals/concur-compliance-review/concur-compliance-review.component'; import { ClosingRemarksComponent } from './pages/investigate-business-entities-and-individuals/closing-remarks/closing-remarks.component'; +import { PreparePreliminaryLetterComponent } from './pages/investigate-business-entities-and-individuals/prepare-preliminary-letter/prepare-preliminary-letter.component'; +import { RespondToPreliminaryLetterComponent } from './pages/investigate-business-entities-and-individuals/respond-to-preliminary-letter/respond-to-preliminary-letter.component'; @NgModule({ declarations: [ @@ -54,7 +56,9 @@ import { ClosingRemarksComponent } from './pages/investigate-business-entities-a MultiFileUploadComponent, ReviewNonComplianceComponent, ConcurComplianceReviewComponent, - ClosingRemarksComponent + ClosingRemarksComponent, + PreparePreliminaryLetterComponent, + RespondToPreliminaryLetterComponent ], imports: [ BrowserModule, diff --git a/src/app/layout/notifications/notifications.component.ts b/src/app/layout/notifications/notifications.component.ts index 045d8a2..1019083 100644 --- a/src/app/layout/notifications/notifications.component.ts +++ b/src/app/layout/notifications/notifications.component.ts @@ -31,6 +31,10 @@ export class NotificationsComponent implements OnInit { text: 'Concur non-compliance for Entity Corp.', timeStamp: '2 hours ago', redirectionUrl: '/tabs/investigate-business-entities-and-individuals', + }, { + text: 'Prepare preliminary letter', + timeStamp: '2 hours ago', + redirectionUrl: '/tabs/investigate-business-entities-and-individuals', }, { text: 'Investigation complete', timeStamp: '1 hours ago', diff --git a/src/app/pages/investigate-business-entities-and-individuals/investigate-business-entities-and-individuals.component.html b/src/app/pages/investigate-business-entities-and-individuals/investigate-business-entities-and-individuals.component.html index cb50d1b..3bc8f97 100644 --- a/src/app/pages/investigate-business-entities-and-individuals/investigate-business-entities-and-individuals.component.html +++ b/src/app/pages/investigate-business-entities-and-individuals/investigate-business-entities-and-individuals.component.html @@ -38,7 +38,7 @@ *ngIf="state === 'REVIEW NON COMPLIANCE'" [panelRemarks]="panelRemarks" [isNonCompliant]="isNonCompliant" - (onNonComplianceUpdate)="isNonCompliant = $event" + (onNonComplianceUpdate)="updateIsNonCompliant($event)" > + + +
-