CSR-1497 | Same-day disclaimer fix
This commit is contained in:
parent
56e2c1a517
commit
edab92d71b
1 changed files with 6 additions and 4 deletions
|
|
@ -183,10 +183,12 @@ export default {
|
||||||
},
|
},
|
||||||
disclaimerTextBlockCopy() {
|
disclaimerTextBlockCopy() {
|
||||||
if (this.appointmentType === AppointmentTypeStrings.DROP_OFF) {
|
if (this.appointmentType === AppointmentTypeStrings.DROP_OFF) {
|
||||||
if (this.isSameDay) {
|
if (this.selectedTimeSlotId?.includes(RouteCodeFlags.ALL_DAY_DROP_OFF)) {
|
||||||
return this.sameDayDropOffDisclaimerText;
|
if (this.isSameDay) {
|
||||||
} else if (this.selectedTimeSlotId?.includes(RouteCodeFlags.ALL_DAY_DROP_OFF)) {
|
return this.sameDayDropOffDisclaimerText;
|
||||||
return this.dropoffDisclaimerText;
|
} else {
|
||||||
|
return this.dropoffDisclaimerText;
|
||||||
|
}
|
||||||
} else if (this.selectedTimeSlotId?.includes(RouteCodeFlags.OVERNIGHT_DROP_OFF)) {
|
} else if (this.selectedTimeSlotId?.includes(RouteCodeFlags.OVERNIGHT_DROP_OFF)) {
|
||||||
return this.overnightDropOffDisclaimerText;
|
return this.overnightDropOffDisclaimerText;
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue