feat(visitor_mailer): add previous location fields - #604
Conversation
There was a problem hiding this comment.
Pull request overview
Adds support for including “previous location” information in the visitor booking-changed email payload, so templates can show where a booking used to be before a move.
Changes:
- Adds
previous_room_nameandprevious_building_nametemplate fields for the booking-changed notification. - Resolves previous building/room names from
details.previous_zonesand passes them intomailer.send_template. - Minor refactors/cleanup (zone list accessor usage, block variable naming, rescue style).
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
...and minor improvements.