Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PSP-8977 : Add Total Allowable Compensation to Compensation Section #4280

Merged
merged 7 commits into from
Aug 30, 2024

Conversation

eddherrera
Copy link
Collaborator

image

@eddherrera eddherrera added the enhancement New feature or request label Aug 23, 2024
@eddherrera eddherrera self-assigned this Aug 23, 2024
Copy link
Contributor

✅ No secrets were detected in the code.

Copy link
Contributor

✅ No secrets were detected in the code.

Copy link
Collaborator

@devinleighsmith devinleighsmith left a comment

Choose a reason for hiding this comment

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

.

return query.AsNoTracking().ToArray();
}

public IEnumerable<PimsCompReqFinancial> GetAllByLeaseFileId(long leaseFileId, bool? finalOnly)
{
this._user.ThrowIfNotAllAuthorized(Security.Permissions.CompensationRequisitionView);
Copy link
Collaborator

Choose a reason for hiding this comment

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

nit: can you just use ThrowIfNotAuthorized here (there is only one permission).

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Updated

case ApiGen_CodeTypes_FileTypes.Lease:
{
const updatedLease = file as ApiGen_Concepts_Lease;
file.totalAllowableCompensation = totalAllowableCompensation;
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think this works because updatedLease and file point to the same reference, but probably would be clearer to say updatedLease.totalAllowableCompensation

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

updated

@asanchezr asanchezr added the 5.5 label Aug 27, 2024
Copy link
Contributor

✅ No secrets were detected in the code.

Copy link
Contributor

✅ No secrets were detected in the code.

Copy link
Contributor

✅ No secrets were detected in the code.

Copy link
Contributor

✅ No secrets were detected in the code.

@eddherrera eddherrera merged commit 324a825 into bcgov:dev Aug 30, 2024
7 checks passed
@eddherrera eddherrera deleted the psp-8977 branch August 30, 2024 22:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
5.5 enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants