{% extends 'generic/form.html' %} {% load i18n %} {% block media %} {{ form.media }} {% endblock %} {% block content %}
{% csrf_token %} {{ formset.management_form }}

{% trans "Required" %}

{{ form.non_field_errors }}
{% for field in form %} {% if field.field.required %}
{{ field.label_tag|safe }} {{ field|safe }} {{ field.errors }}
{% endif %} {% endfor %}

{% trans "Optional" %}

{{ form.number.label_tag|safe }} {{ form.number }} {{ form.number.errors }}
{{ form.created.label_tag|safe }} {{ form.created }} {{ form.created.errors }}
{{ form.client_po_number.label_tag|safe }} {{ form.client_po_number }}
{{ form.region.label_tag }} {{ form.region }}
{{ form.notes.label_tag|safe }}{{ form.notes }}

Products

{% include 'generic/order_formset.html' %} {# {% trans "Add another item" %} #} {% comment %} {% endcomment %} {% comment %} {% if form.tax %} {% endif %} {% endcomment %}
Subtotal {% trans "Rp." %} 0
{% trans 'Shipping cost' %} {{ form.shipping_cost }}
{% trans 'Tax' %} {{ form.tax_type }}
{% trans "Discount" %} {{ form.discount}}
{% trans 'Tax' %} {{ form.tax }}
{% trans "Grand Total" %} {% trans "Rp." %} 0
{% endblock %}