Skip to content

PSP-8880: Add Payee tab to Payable leases#4258

Merged
stairaku merged 23 commits intobcgov:devfrom
stairaku:PSP-8880-2
Aug 13, 2024
Merged

PSP-8880: Add Payee tab to Payable leases#4258
stairaku merged 23 commits intobcgov:devfrom
stairaku:PSP-8880-2

Conversation

@stairaku
Copy link
Collaborator

No description provided.

@stairaku stairaku added enhancement New feature or request 5.5 labels Aug 12, 2024
@stairaku stairaku self-assigned this Aug 12, 2024
@github-actions
Copy link
Contributor

✅ No secrets were detected in the code.

@github-actions
Copy link
Contributor

✅ No secrets were detected in the code.

1 similar comment
@github-actions
Copy link
Contributor

✅ No secrets were detected in the code.

@stairaku stairaku marked this pull request as ready for review August 12, 2024 18:34
@github-actions
Copy link
Contributor

✅ No secrets were detected in the code.

@github-actions
Copy link
Contributor

✅ No secrets were detected in the code.

1 similar comment
@github-actions
Copy link
Contributor

✅ No secrets were detected in the code.

@github-actions
Copy link
Contributor

✅ No secrets were detected in the code.

@github-actions
Copy link
Contributor

✅ No secrets were detected in the code.

@github-actions
Copy link
Contributor

✅ No secrets were detected in the code.


namespace Pims.Api.Models.Concepts.Lease
{
public class LeaseStakeholderTypeModel : BaseConcurrentModel
Copy link
Collaborator

Choose a reason for hiding this comment

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

This should almost certainly inherit from CodeTypeModel.

Cell: (props: CellProps<FormTenant>) => {
const original = props.row.original;
const status =
original.original !== undefined
Copy link
Collaborator

Choose a reason for hiding this comment

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

original.original is quite hard to read, can you clean this up a bit? Please also break this out so its not just one giant nested ternary.

key: LeaseFileTabNames.tenant,
name: 'Tenant',
});
if (lease?.paymentReceivableType.id === 'RCVBL') {
Copy link
Collaborator

Choose a reason for hiding this comment

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

could this be refactored to just change the name of the tabview instead of having these two if statements?

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.

Please address comments.

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.

2 participants