{% extends "email_sender/base_email.html" %} {% load i18n appointment_tags %} {% block title %}{% translate 'New Appointment Request' %}{% endblock %} {% block preheader %}{{ client_name }} · {{ appointment.get_service_name }} · {{ appointment.appointment_request.date|long_date }}{% endblock %} {% block heading %}{% translate 'New Appointment Request' %}{% endblock %} {% block content %}
{% blocktranslate trimmed %}Dear {{ recipient_name }},{% endblocktranslate %}
{% if is_staff_member %} {% translate 'You have received a new appointment request. Here are the details:' %} {% else %} {% blocktranslate trimmed %} A new appointment request has been received for {{ staff_member_name }}. Here are the details: {% endblocktranslate %} {% endif %}
| {% translate 'Client Name' %} | {{ client_name }} |
| {% translate 'Service Requested' %} | {{ appointment.get_service_name }} |
| {% translate 'Appointment Date' %} | {{ appointment.appointment_request.date|long_date }} |
| {% translate 'Time' %} | {{ appointment.appointment_request.start_time|local_time }} – {{ appointment.appointment_request.end_time|local_time }} |
| {% translate 'Contact Details' %} |
{% if appointment.phone %}{{ appointment.phone }} {% endif %}{{ appointment.client.email }} |
| {% translate 'Additional Info' %} | {{ appointment.additional_info|default:"N/A" }} |
{% translate 'View Appointment' %}
{% endif %}{% if is_staff_member %} {% translate 'Please review the appointment request and take the necessary action.' %} {% else %} {% blocktranslate trimmed %} Please ensure that {{ staff_member_name }} reviews this appointment request and takes the necessary action. {% endblocktranslate %} {% endif %}
{% endblock %}