Skip to content

Commit

Permalink
Set Court Order Transfer Fee to be $0 (#1869)
Browse files Browse the repository at this point in the history
  • Loading branch information
dimak1 authored May 13, 2024
1 parent b8aebac commit 29bd65b
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 5 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.1.19",
"version": "3.1.20",
"private": true,
"appName": "Assets UI",
"sbcName": "SBC Common Components",
Expand Down
18 changes: 16 additions & 2 deletions ppr-ui/src/components/common/StickyContainer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ import {
import { useStore } from '@/store/store'
import { ButtonsStacked } from '@/components/common'
import { FeeSummary } from '@/composables/fees'
import { UIRegistrationTypes, UITransferTypes } from '@/enums'
import { ApiTransferTypes, UIRegistrationTypes, UITransferTypes } from '@/enums'
import { FeeSummaryTypes } from '@/composables/fees/enums'
import {
AdditionalSearchFeeIF,
Expand Down Expand Up @@ -144,7 +144,13 @@ export default defineComponent({
emits: ['back', 'cancel', 'submit', 'save'],
setup (props, { emit }) {
const {
getUserServiceFee, isNonBillable, getIsStaffClientPayment, isRoleStaffReg, isRoleStaffSbc, getStaffPayment
getUserServiceFee,
isNonBillable,
getIsStaffClientPayment,
isRoleStaffReg,
isRoleStaffSbc,
getStaffPayment,
getMhrTransferType
} = storeToRefs(useStore())
const localState = reactive({
Expand All @@ -167,6 +173,14 @@ export default defineComponent({
serviceFee: getUserServiceFee.value as number
} as FeeSummaryI
}
if (getMhrTransferType.value?.transferType === ApiTransferTypes.COU) {
return {
feeAmount: 0,
processingFee: null, // not used in override
quantity: null, // not used in override
serviceFee: getUserServiceFee.value as number
} as FeeSummaryI
}
return null
}),
isStaffReg: computed(() => {
Expand Down

0 comments on commit 29bd65b

Please sign in to comment.