Skip to content

Commit

Permalink
Update Rescind Exemptions after main sync
Browse files Browse the repository at this point in the history
  • Loading branch information
dimak1 committed Oct 17, 2023
1 parent 53fd13a commit 197b40c
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
10 changes: 8 additions & 2 deletions ppr-ui/src/components/tables/common/TableRow.vue
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@
<v-list-item
v-if="isRoleStaffReg && isExemptionEnabled && hasChildResExemption(item) &&
![HomeLocationTypes.HOME_PARK, HomeLocationTypes.LOT].includes(item.locationType)"
@click="openExemption(UnitNoteDocTypes.RESIDENTIAL_EXEMPTION_ORDER, item)"
@click="openExemption(UnitNoteDocTypes.RESCIND_EXEMPTION, item)"
data-test-id="rescind-exemption-btn"
>
<v-list-item-subtitle>
Expand All @@ -398,7 +398,9 @@
</v-list-item-subtitle>
</v-list-item>
<v-list-item
@click="openExemption(TableActions.OPEN_RES_EXEMPTION, item)"
v-if="isExemptionEnabled && !hasChildResExemption(item) &&
![HomeLocationTypes.HOME_PARK, HomeLocationTypes.LOT].includes(item.locationType)"
@click="openExemption(UnitNoteDocTypes.RESIDENTIAL_EXEMPTION_ORDER, item)"
data-test-id="res-exemption-btn"
>
<v-list-item-subtitle>
Expand Down Expand Up @@ -978,4 +980,8 @@ export default defineComponent({
margin: auto;
width: 80%;
}
.registration-actions .exemption-icon {
width: 18px;
}
</style>
1 change: 1 addition & 0 deletions ppr-ui/src/enums/unitNoteDocTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export enum UnitNoteDocTypes {
TRANSPORT_PERMIT_EXTENSION = 'REG_103E',
NON_RESIDENTIAL_EXEMPTION = 'EXNR',
RESIDENTIAL_EXEMPTION_ORDER = 'EXRS',
RESCIND_EXEMPTION = 'EXRE',
REGISTRATION_CORRECTION = 'REGC',
NOTICE_OF_REDEMPTION = 'NRED'
}
Expand Down
5 changes: 5 additions & 0 deletions ppr-ui/src/resources/unitNotes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,11 @@ export const UnitNotesInfo: Record<UnitNoteDocTypes, UnitNoteInfoIF> = {
dropdownText: 'Residential Exemption Order',
fee: FeeSummaryDefaults.UNIT_NOTE_50
},
[UnitNoteDocTypes.RESCIND_EXEMPTION]: { // TODO: Update values and fee when working on Rescind Exemptions ticket
header: 'Rescind Residential Exemption Order',
dropdownText: 'Rescind Residential Exemption Order',
fee: FeeSummaryDefaults.UNIT_NOTE_50
},
[UnitNoteDocTypes.TRANSPORT_PERMIT]: {
header: 'Transport Permit',
dropdownText: 'Transport Permit',
Expand Down

0 comments on commit 197b40c

Please sign in to comment.