{% extends "contracts/base.html" %}{% load rr %}{% block title %}Allocation{% endblock %} {% block content %}

{{ contract.number }} — allocation preview

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

Step 3 — Transaction price and relative SSP allocation

List total{{ list_total|money }}
Contract discount{{ contract.discount|money }}
Transaction price{{ tp|money }}
Sum of SSPs{{ ssp_total|money }}
{% if error %}
{{ error }}
{% else %} {% for v in views %}{% endfor %}
PODescriptionPatternStated priceSSPSSP basisSSP %Allocated
{{ v.key }}{{ v.name }}{{ v.pattern }}{{ v.stated|money }}{{ v.ssp|money }}{{ v.ssp_source }} {% widthratio v.ssp ssp_total 100 %}%{{ v.allocated|money }}
Total allocated{{ tp|money }}

Rounded to cents with the largest-remainder method, so the allocation always sums exactly to the transaction price.

{% endif %}
← Obligations{% if not error %}Schedule preview →{% endif %}
{% endblock %}