Skip to content

Conversation

yzlucas
Copy link
Collaborator

@yzlucas yzlucas commented Sep 26, 2025

https://apps.nrs.gov.bc.ca/int/jira/browse/WFPREV-671

Delete EC Summary on changing the project type.
If project has fiscal with status falls into " prepared/in progress/complete/cancelled ", disable the project type

@yzlucas yzlucas requested review from ssylver93 and dhlevi September 26, 2025 03:36
Copy link
Collaborator

@ssylver93 ssylver93 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, I just requested 2 minor changes

return 'Continue';
}

get isDeleteDialog(): boolean {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd recommend to change this function name to isDeleteOrChangeDialog to reflect the functionality

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok done

[optionLabelField]="'description'"
[tooltip]="getCodeDescription(CodeTableKeys.PROJECT_TYPE_CODE)"
[tooltip]="projectTypeLocked
? 'Project Type cannot be changed after any Fiscal Activity has been Endorsed and Approved'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can this be moved to a communal file that holds messages rather than being hardcoded? like constants.ts

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@yzlucas yzlucas requested a review from ssylver93 September 26, 2025 21:12
ssylver93
ssylver93 previously approved these changes Sep 26, 2025
@yzlucas yzlucas merged commit 484cc6c into main Sep 29, 2025
5 checks passed
@yzlucas yzlucas deleted the feature/wfprev-671 branch September 29, 2025 16:23
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants