-
Notifications
You must be signed in to change notification settings - Fork 24
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
Conversation
eddherrera
commented
Aug 23, 2024
✅ No secrets were detected in the code. |
✅ No secrets were detected in the code. |
There was a problem hiding this 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); |
There was a problem hiding this comment.
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).
There was a problem hiding this comment.
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; |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated
✅ No secrets were detected in the code. |
✅ No secrets were detected in the code. |
✅ No secrets were detected in the code. |
✅ No secrets were detected in the code. |