Skip to content

Commit

Permalink
Transport Permits: Include FolioRef in QS payload (#2030)
Browse files Browse the repository at this point in the history
* TP-Include clientRef for QS

* remove accidental plock

* add fallback
  • Loading branch information
cameron-eyds authored Oct 3, 2024
1 parent 51527ce commit f241654
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 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.60",
"version": "3.2.61",
"private": true,
"appName": "Assets UI",
"sbcName": "SBC Common Components",
Expand Down
6 changes: 5 additions & 1 deletion ppr-ui/src/composables/mhrInformation/useTransportPermits.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ export const useTransportPermits = () => {
getMhrAccountSubmittingParty,
getMhrRegistrationLocation,
getMhrTransportPermitPreviousLocation,
getStaffPayment
getStaffPayment,
getMhrTransferAttentionReference
} = storeToRefs(useStore())

const {
Expand Down Expand Up @@ -224,6 +225,9 @@ export const useTransportPermits = () => {
...(isRoleStaffReg.value && !!getStaffPayment.value && {
clientReferenceId: getStaffPayment.value.folioNumber
}),
...(isRoleQualifiedSupplier.value && {
clientReferenceId: getMhrTransferAttentionReference.value || ''
}),
submittingParty: {
...submittingParty,
phoneNumber: fromDisplayPhone(submittingParty?.phoneNumber)
Expand Down

0 comments on commit f241654

Please sign in to comment.