{% extends 'creme_core/bricks/base/base.html' %} {% load i18n %} {% load format_amount from creme_core_tags %} {% block brick_extra_class %}brick-kv-list billing-persons-stats-brick{% endblock %} {% comment %} {# version with groups as large as brick #} {% block brick_content_extra_class %}-kv-full-width-groups{% endblock %} {% endcomment %} {% block brick_content %}
{% translate 'Total won Quotes last year' %}
{{total_won_quote_last_year|format_amount}}
{% translate 'Total won Quotes this year' %}
{{total_won_quote_this_year|format_amount}}
{% translate 'Total pending payment' %}
{{total_pending|format_amount}}
{% endblock %} {% comment %} {# brick_content: 1 group of k/v displayed with 1 column as large as the brick #}
{% translate "Total Won Quote Last Year" %}
{{total_won_quote_last_year|format_amount}}
{% translate "Total Won Quote This Year" %}
{{total_won_quote_this_year|format_amount}}
{% translate "Total Pending Payment" %}
{{total_pending|format_amount}}
{# brick_content: 2 groups of k/v, with 2 columns #}
{% translate "Total Won Quote Last Year" %}
{{total_won_quote_last_year|format_amount}}
{% translate "Total Won Quote This Year" %}
{{total_won_quote_this_year|format_amount}}
{% translate "Total Pending Payment" %}
{{total_pending|format_amount}}
{% translate "Total Won Quote Last Year" %}
{{total_won_quote_last_year|format_amount}}
{% translate "Total Won Quote This Year" %}
{{total_won_quote_this_year|format_amount}}
{% translate "Total Pending Payment" %}
{{total_pending|format_amount}}
{# brick_content: 2 groups of k/v with title, with 2 columns #}
Previous year
{% translate "Total Won Quote Last Year" %}
{{total_won_quote_last_year|format_amount}}
{% translate "Total Won Quote This Year" %}
{{total_won_quote_this_year|format_amount}}
{% translate "Total Pending Payment" %}
{{total_pending|format_amount}}
Current year
{% translate "Total Won Quote Last Year" %}
{{total_won_quote_last_year|format_amount}}
{% translate "Total Won Quote This Year" %}
{{total_won_quote_this_year|format_amount}}
{% translate "Total Pending Payment" %}
{{total_pending|format_amount}}
{# block brick_content_extra_class: -kv-full-width-groups + brick_content (as the previous example) = 2 groups of k/v with title, with 1 column #}
Previous year
{% translate "Total Won Quote Last Year" %}
{{total_won_quote_last_year|format_amount}}
{% translate "Total Won Quote This Year" %}
{{total_won_quote_this_year|format_amount}}
{% translate "Total Pending Payment" %}
{{total_pending|format_amount}}
Current year
{% translate "Total Won Quote Last Year" %}
{{total_won_quote_last_year|format_amount}}
{% translate "Total Won Quote This Year" %}
{{total_won_quote_this_year|format_amount}}
{% translate "Total Pending Payment" %}
{{total_pending|format_amount}}
{% endcomment %}