Skip to content

Release 2149

Choose a tag to compare

@github-actions github-actions released this 16 Dec 15:19
21ff7d7

Trello card

https://trello.com/c/lvDPPg6S

Context

Schools can offer placement dates which can last multiple days, however the booking duration always defaults to 1 day when they accept requests.

The booking duration should be as long as the placement dates are and also allow the school managers to change it when making changes during the acceptance process.

Changes proposed in this pull request

  • Update the booking model to inherit the placement date duration for fixed placement dates.
  • Add a number field to allow to change the duration in the acceptance/make_changes page

Guidance to review

  1. Accept a request for a fixed date
  2. Click Make changes

There should be a duration field under the date field, which should have the placement date duration prefilled and allow you to update it.

The changes should be reflected in the confirmation email preview.