{% extends 'base.html' %} {% block title %} {% if object %}Edit{% else %}Create{% endif %} Notification Template - Optinet Global Links {% endblock %} {% block content %}

{% if object %}Edit{% else %}Create{% endif %} Notification Template

{% if object %}Update{% else %}Create a new{% endif %} notification template

Back to Templates
{% if object %}Edit Template: {{ object.name }}{% else %}New Template{% endif %}
{% csrf_token %}
{{ form.name }} {% if form.name.errors %}
{{ form.name.errors }}
{% endif %}
{{ form.template_type }} {% if form.template_type.errors %}
{{ form.template_type.errors }}
{% endif %}
{{ form.subject }}
{{ form.subject.help_text }}
{% if form.subject.errors %}
{{ form.subject.errors }}
{% endif %}
{{ form.content }}
{{ form.content.help_text }}
{% if form.content.errors %}
{{ form.content.errors }}
{% endif %}
{{ form.variables_help }}
{{ form.variables_help.help_text }}
{% if form.variables_help.errors %}
{{ form.variables_help.errors }}
{% endif %}
{{ form.is_active }}
{% if form.is_active.errors %}
{{ form.is_active.errors }}
{% endif %}
Cancel
Common Variables
Customer Variables:
  • {{customer_name}} - Customer full name
  • {{customer_id}} - Customer ID
  • {{phone}} - Customer phone
  • {{email}} - Customer email
Payment Variables:
  • {{amount}} - Payment amount
  • {{payment_id}} - Payment reference
  • {{payment_method}} - Payment method
  • {{date}} - Payment date
Ticket Variables:
  • {{ticket_number}} - Ticket number
  • {{technician_name}} - Technician name
  • {{appointment_date}} - Appointment date
  • {{appointment_time}} - Appointment time
General Variables:
  • {{company_name}} - Company name
  • {{support_phone}} - Support phone
  • {{today}} - Current date
  • {{time}} - Current time
{% endblock %}