Skip to content

Commit

Permalink
Uxa and Qa Items
Browse files Browse the repository at this point in the history
  • Loading branch information
cameron-eyds committed Oct 18, 2024
1 parent 2eb8da3 commit e8223b0
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 9 deletions.
4 changes: 2 additions & 2 deletions ppr-ui/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ppr-ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ppr-ui",
"version": "3.2.65",
"version": "3.2.65a",
"private": true,
"appName": "Assets UI",
"sbcName": "SBC Common Components",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -615,10 +615,15 @@
Tax Certificate <br>Expiry Date
</v-col>
<v-col cols="9">
{{ isExtendChangeLocationActive
? convertDateToLongFormat(getMhrTransportPermit.newLocation.taxExpiryDate)
: convertDateToLongFormat(homeLocationInfo.taxExpiryDate)
}}
<p v-if="getMhrTransportPermitHomeLocation.waiveCertificate">
Certificate requirement waived
</p>
<span v-else>
{{ isExtendChangeLocationActive
? convertDateToLongFormat(getMhrTransportPermit.newLocation.taxExpiryDate)
: convertDateToLongFormat(homeLocationInfo.taxExpiryDate)
}}
</span>
</v-col>
</v-row>
</template>
Expand Down Expand Up @@ -749,7 +754,8 @@ export default defineComponent({
currentPadNumber: homeLocationInfo.pad,
newTransportPermitPadNumber: '',
showTaxCertificateExpiryDate: isNotManufacturersLot.value && !isMovingWithinSamePark.value &&
(homeLocationInfo.taxCertificate || getMhrTransportPermit.value?.newLocation?.taxCertificate),
(homeLocationInfo.taxCertificate || getMhrTransportPermit.value?.newLocation?.taxCertificate ||
getMhrTransportPermitHomeLocation.value?.waiveCertificate),
isNewPadNumberValid: false,
amendedBadgeLocationType: {
baseline: getMhrOriginalTransportPermitHomeLocation.value,
Expand Down Expand Up @@ -883,6 +889,7 @@ export default defineComponent({
showUpdatedBadge,
getMhrTransportPermit,
isExemptionWithActiveTransportPermit,
getMhrTransportPermitHomeLocation,
...toRefs(localState)
}
}
Expand Down
1 change: 1 addition & 0 deletions ppr-ui/src/components/mhrTransfers/TaxCertificate.vue
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ watch(() => props.validate, async () => {
watch(() => state.certificateWaived, async (val: boolean) => {
if (val){
emit('setStoreProperty', '')
expiryDatePickerRef.value.clearDate()
await nextTick()
expiryDatePickerRef.value?.validate()
Expand Down
3 changes: 2 additions & 1 deletion ppr-ui/src/views/mhrInformation/MhrInformation.vue
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,8 @@
class="submitting-party"
>
<ContactInformation
:contactInfo="(isChangeLocationActive || isCancelChangeLocationActive)
:contactInfo="(isChangeLocationActive || isCancelChangeLocationActive ||
isExtendChangeLocationActive)
? getMhrTransportPermit.submittingParty
: getMhrAccountSubmittingParty"
:sectionNumber="1"
Expand Down

0 comments on commit e8223b0

Please sign in to comment.