{% extends "base.html" %} {% load i18n bootstrap3 dv_filters %} {% block body_class %}dv-invoice{% endblock %} {% block head_title %}{% blocktrans with ref=invoice.ref %}Facture {{ ref }}{% endblocktrans %}{% endblock %} {% block content %}
{% trans "Sessions" %} | {% blocktrans trimmed with cost_per_participant=cost_per_participant|floatformat:"0" %} Participant.e.s (coût: CHF {{ cost_per_participant }}.-/part.) {% endblocktrans %} | {% blocktrans trimmed with cost_per_bike=cost_per_bike|floatformat:"0" %} Vélos (facturation journalière: coût: CHF {{ cost_per_bike }}.-/vélo/jour) {% endblocktrans %} | {% trans "Total (CHF)" %} | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{ date }} | {{ line.line_sum_nb_participants }} | {{ line.line_sum_cost_participants }} | {{ line.max_nb_bikes }} | {% if not line.cost_bikes_reduction_percent and not any_line_has_reduction %}{{ line.max_cost_bikes }} | {% elif not line.cost_bikes_reduction_percent %}{{ line.max_cost_bikes }} | {{ line.max_cost_bikes }} | {% elif line.cost_bikes_reduction_percent %}{{ line.max_cost_bikes }} | -{{ line.cost_bikes_reduction_percent }} % | {{ line.cost_bikes_reduced }} | {% endif %}{{ line.line_total }} | |||
{{ invoice.sum_nb_participants }} | {{ invoice.sum_cost_participants }} | {{ adjusted_sum_of_bikes }} | {{ invoice.sum_cost_bikes_reduced }} | {{ invoice.sum_cost }} |