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
|
this.selectedTimeSlotData?.isPremiumAppointment
|
||||||
) {
|
) {
|
||||||
const earlyBirdIndex = supportingItems.findIndex(
|
const earlyBirdIndex = supportingItems.findIndex(
|
||||||
(item) => item.partNumber == PREMIUM_FEE_PART_TYPE
|
(item) => item.partType == PREMIUM_FEE_PART_TYPE
|
||||||
);
|
);
|
||||||
|
|
||||||
if (earlyBirdIndex >= 0) {
|
if (earlyBirdIndex >= 0) {
|
||||||
|
|
@ -379,7 +379,7 @@ export default {
|
||||||
} else {
|
} else {
|
||||||
// if it's not a mobile and/or premium early bird, then make sure we remove any that may have been added
|
// 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(
|
const removeEarlyBirdIndex = supportingItems.findIndex(
|
||||||
(item) => item.partNumber == PREMIUM_FEE_PART_TYPE
|
(item) => item.partType == PREMIUM_FEE_PART_TYPE
|
||||||
);
|
);
|
||||||
|
|
||||||
if (removeEarlyBirdIndex >= 0) {
|
if (removeEarlyBirdIndex >= 0) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue