-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1991 from bcgov/feature/ALCS-2302-noi-condition-t…
…ypes-on-admin ALCS-2302 Implement NOI decision type into admin
- Loading branch information
Showing
15 changed files
with
458 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
...c/app/features/admin/decision-condition-types/decision-condition-container.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<mat-tab-group id="conditions" mat-align-tabs="start"> | ||
<mat-tab> | ||
<ng-template mat-tab-label> | ||
<span class="tab-label">Application</span> | ||
</ng-template> | ||
<br /> | ||
<app-decision-condition-types [service]="applicationService" /> | ||
</mat-tab> | ||
|
||
<mat-tab> | ||
<ng-template mat-tab-label> | ||
<span class="tab-label">Notice of Intent</span> | ||
</ng-template> | ||
<br /> | ||
<app-decision-condition-types [service]="noiService" /> | ||
</mat-tab> | ||
</mat-tab-group> |
4 changes: 4 additions & 0 deletions
4
...c/app/features/admin/decision-condition-types/decision-condition-container.component.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
.tab-label { | ||
font-weight: 700; | ||
font-size: 16px; | ||
} |
22 changes: 22 additions & 0 deletions
22
...src/app/features/admin/decision-condition-types/decision-condition-container.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import { Component } from '@angular/core'; | ||
import { ApplicationDecisionConditionTypesService } from '../../../services/application/application-decision-condition-types/application-decision-condition-types.service'; | ||
import { NoticeofIntentDecisionConditionTypesService } from '../../../services/notice-of-intent/notice-of-intent-decision-condition-types/notice-of-intent-decision-condition-types.service'; | ||
|
||
@Component({ | ||
selector: 'app-decision-condition-container', | ||
templateUrl: './decision-condition-container.component.html', | ||
styleUrls: ['./decision-condition-container.component.scss'], | ||
}) | ||
export class DecisionConditionContainerComponent { | ||
|
||
applicationService: ApplicationDecisionConditionTypesService; | ||
noiService: NoticeofIntentDecisionConditionTypesService; | ||
|
||
constructor( | ||
private aplicationDecisionConditionTypesService: ApplicationDecisionConditionTypesService, | ||
private noiDecisionConditionTypesService: NoticeofIntentDecisionConditionTypesService, | ||
) { | ||
this.applicationService = this.aplicationDecisionConditionTypesService; | ||
this.noiService = this.noiDecisionConditionTypesService; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
...rontend/src/app/features/admin/decision-condition-types/decision-dialog-data.interface.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import { NoticeofIntentDecisionConditionTypesService } from "../../../services/notice-of-intent/notice-of-intent-decision-condition-types/notice-of-intent-decision-condition-types.service"; | ||
import { ApplicationDecisionConditionTypesService } from "../../../services/application/application-decision-condition-types/application-decision-condition-types.service"; | ||
import { ApplicationDecisionConditionTypeDto } from "../../../services/application/decision/application-decision-v2/application-decision-v2.dto"; | ||
|
||
export interface DecisionDialogDataInterface { | ||
service: ApplicationDecisionConditionTypesService | NoticeofIntentDecisionConditionTypesService; | ||
content: ApplicationDecisionConditionTypeDto; | ||
} |
Oops, something went wrong.