diff --git a/app/controllers/book-into-a-clinic.js b/app/controllers/book-into-a-clinic.js index 5f5663c18..5a4158026 100644 --- a/app/controllers/book-into-a-clinic.js +++ b/app/controllers/book-into-a-clinic.js @@ -160,10 +160,6 @@ export const bookIntoClinicController = { const currentAppointment = booking.findAppointment(appointment_uuid) response.locals.appointment = currentAppointment - // The check-answers page needs a version of the appointment that can find its booking on the context - response.locals.wizardAppointment = - wizardBooking?.findAppointment(appointment_uuid) - response.locals.childNumber = booking.appointments.indexOf(currentAppointment) + 1 response.locals.childCount = booking.appointments.length diff --git a/app/locales/en.js b/app/locales/en.js index 560bb05d4..009f37d25 100644 --- a/app/locales/en.js +++ b/app/locales/en.js @@ -401,7 +401,7 @@ export const en = { fullyBooked: { title: 'All clinics are now fully booked', problem: - 'All clinics scheduled for {{ programmes }} vaccinations are fully booked.', + 'All clinics scheduled for {{ programmes }} vaccinations are now fully booked.', guidance: 'Contact your local vaccinations team, who may be able to arrange an appointment at another clinic, by phoning {{ team.tel }} or emailing {{ team.email }}.' }, diff --git a/app/views/book-into-a-clinic/form/check-answers.njk b/app/views/book-into-a-clinic/form/check-answers.njk index d3b898481..89bde2ca7 100644 --- a/app/views/book-into-a-clinic/form/check-answers.njk +++ b/app/views/book-into-a-clinic/form/check-answers.njk @@ -76,11 +76,11 @@ }, relationship: { href: appointment.uri.new + "/contact", - value: wizardAppointment.formatted.parentalRelationship + value: appointment.formatted.parentalRelationship }, hasParentalResponsibility: { href: appointment.uri.new + "/contact", - value: wizardAppointment.parentHasParentalResponsibility + value: appointment.parentHasParentalResponsibility }, email: { href: appointment.uri.new + "/contact" diff --git a/app/views/book-into-a-clinic/form/clinic-distance.njk b/app/views/book-into-a-clinic/form/clinic-distance.njk index 4733a8f6c..581dde079 100644 --- a/app/views/book-into-a-clinic/form/clinic-distance.njk +++ b/app/views/book-into-a-clinic/form/clinic-distance.njk @@ -15,7 +15,7 @@ text: __("clinicBooking.clinicDistance.confirm"), variant: "reverse" }) }} - {{ __("clinicBooking.clinicDistance.confirm") }} + {{ __("clinicBooking.clinicDistance.cancel") }} {% endset %}