Skip to content

Resolve "Add a form to the visitor slot booking page on visitor information"

What does this MR do?

This MR adds a name to each booking, this name will be used to identify the person who made the booking. It is mainly there such that the patients themselves can decide whether they would like to meet the visitor or not. This may differ, as the patient might want to still see their close family even if they are tired, while they would refuse meeting their neighbour.

This MR also fixes the functionality of booking a time slot, as this was broken. The current approach is to send the ID of the time slot config as well as the index of the time slot. Using these the correct time slot will be created. The name of the visitor is sent in a similar way.

Screenshots

after

add-booking

view-booking

Does this MR meet the acceptance criteria?

  • I have added tests to validate the new functionality.
  • I have updated the documentation accordingly.

closes #90 (closed)

Edited by Kevin Chong

Merge request reports