Skip to content

Commit

Permalink
Merge pull request #716 from shruthi-rapala/srapala/dfa-public-3.1
Browse files Browse the repository at this point in the history
EMCRI# 1014 Portal: On Project Amendment form, don't display values in certain fields until project amendment has been approved or approved with exceptions
  • Loading branch information
GeorgeWalker authored Jan 3, 2025
2 parents c528ff5 + 3d74107 commit f5a4c87
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@
</mat-form-field>
</div>
</div>
@if (option.amendmentDecision == DecisionEnum.Approved || option.stage == amendmentDecision.ApprovedWithExclusions) {
@if (option.amendmentDecision == DecisionEnum.Approved || option.amendmentDecision == DecisionEnum.ApprovedWithExclusions) {
<div class="row">
<div class="col-md-3">
<p style="font-size: 15px">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,6 @@ export class DFAProjectAmendmentComponent
if (dfaAmendment) {
var amendmentId = this.projectAmendmentForm.controls.amendmentId.value;
this.ProjectAmendments = dfaAmendment;

if (dfaAmendment && dfaAmendment.length > 0) {
var selectedAmendment = dfaAmendment.filter(m => m.amendmentId == amendmentId);
if (selectedAmendment.length > 0) {
Expand Down Expand Up @@ -322,8 +321,8 @@ export class DFAProjectAmendmentComponent
objStatItem.currentStep = true;
isFound = true

if (objAmendment.stage) {
objStatItem.stage = objAmendment.stage;
if (objAmendment.amendmentDecision) {
objStatItem.stage = objAmendment.amendmentDecision;
}

objAmendment.statusColor = objStatItem.statusColor;
Expand Down

0 comments on commit f5a4c87

Please sign in to comment.