CSR-1144
Use parttype to determine early bird
This commit is contained in:
parent
1e0b170dde
commit
201e90268b
1 changed files with 2 additions and 2 deletions
|
|
@ -357,7 +357,7 @@ export default {
|
|||
this.selectedTimeSlotData?.isPremiumAppointment
|
||||
) {
|
||||
const earlyBirdIndex = supportingItems.findIndex(
|
||||
(item) => item.partNumber == PREMIUM_FEE_PART_TYPE
|
||||
(item) => item.partType == PREMIUM_FEE_PART_TYPE
|
||||
);
|
||||
|
||||
if (earlyBirdIndex >= 0) {
|
||||
|
|
@ -379,7 +379,7 @@ export default {
|
|||
} else {
|
||||
// if it's not a mobile and/or premium early bird, then make sure we remove any that may have been added
|
||||
const removeEarlyBirdIndex = supportingItems.findIndex(
|
||||
(item) => item.partNumber == PREMIUM_FEE_PART_TYPE
|
||||
(item) => item.partType == PREMIUM_FEE_PART_TYPE
|
||||
);
|
||||
|
||||
if (removeEarlyBirdIndex >= 0) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue