{% extends "contracts/base.html" %}{% block title %}New contract{% endblock %} {% block content %}

{% if contract %}Edit draft {{ contract.number }}{% else %}New contract{% endif %}

{% include "contracts/_steps.html" %}
{% csrf_token %}

Step 1 — Identify the contract

{% for f in form %}{% endfor %}

Lines (promised goods and services)

{{ formset.management_form }} {% if formset.non_form_errors %}
{{ formset.non_form_errors }}
{% endif %} {% for f in formset %}{% for h in f.hidden_fields %}{{ h }}{% endfor %} {% if f.errors %}{% endif %}{% endfor %}
ProductQtyUnit priceStartEndDeliveryBears discountSSP overrideDelete
{{ f.product }}{{ f.quantity }}{{ f.unit_price }}{{ f.start }}{{ f.end }}{{ f.delivery_date }}{{ f.bears_discount }}{{ f.ssp_override }}{{ f.DELETE }}
{{ f.errors }}

Ratable products priced per year: SSP is pro-rated by the line term. Save to add more blank lines.

{% endblock %}