{% extends "lingo/manager_agenda_settings.html" %} {% load i18n %} {% block breadcrumb %} {{ block.super }} {{ object.pricing }} {% endblock %} {% block appbar %}

{{ object.pricing }} ({{ object.date_start|date:'d/m/Y' }} - {{ object.date_end|date:'d/m/Y' }})

{% if user_can_manage %} {% endif %} {% endblock %} {% block content %} {% for matrix in object.iter_pricing_matrix %}
{% if matrix.criteria %}

{{ matrix.criteria.label }}

{% endif %}
{% if matrix.rows.0.cells.0.criteria %} {% for cell in matrix.rows.0.cells %}{% endfor %} {% endif %} {% for row in matrix.rows %} {% for cell in row.cells %}{% endfor %} {% endfor %}
{{ cell.criteria.label }}
{{ row.criteria.label }}{{ cell.value|floatformat:"2"|default_if_none:"" }}
{% if user_can_manage %}

{% trans "Edit pricing" %}

{% endif %}
{% empty %}
{% blocktrans %} This pricing model is misconfigured. {% endblocktrans %}
{% endfor %} {% endblock %}