{% load i18n %}
{% trans 'Status Modification' %}
{% csrf_token %}
{{ form.status_to }} {% if form.status_to.errors %} {{ form.status_to.errors }} {% endif %}
{{ form.reason }} {% if form.reason.errors %} {{ form.reason.errors }} {% endif %}

{% trans 'Scheduling' %}

{% trans 'To schedule a status modification, fill one or two of theses date fields:' %}

{{ form.change_date }}
{% if form.change_date.errors %} {{ form.change_date.errors }} {% endif %}
{{ form.end_date }}
{% if form.end_date.errors %} {{ form.end_date.errors }} {% endif %}

{% trans 'Upcoming Orders' %}

{% if orders %}

{% trans 'This client has the following upcoming orders:' %}

{% include 'client/partials/order_list.html' %} {% else %}

{% trans 'This client has no upcoming orders.' %}

{% endif %}