'2020-05-01'
{#- {{ pa(job_stat__round_number(db,'2020-05-01')) }} -#} {#{% set sr = job_stat__round_number(db,'2020-05-01') %}#}
{% set oborots = 0 %} {% for sp,v in sr.srednee %} {% endfor %}
ТП холодный горячий доставка оборот
{{ sr.sps[sp]['head'] }} {{ v['cold'] }}
{{ v['cold_summ'] }} / {{ v['cold_count'] }} =
{{ v['hot'] }}
{{ v['hot_summ'] }} / {{ v['hot_count'] }} =
{{ v['delivery'] }}
{{ v['delivery_summ'] }} / {{ v['delivery_count'] }} =
{{ v['oborot']|number_format(1,',','`') }}
{{ v['oborot_summ']|number_format(1,',','`') }} / {{ v['oborot_count'] }} = {% set oborots = oborots + v['oborot_summ']%}
Итого {{ oborots|number_format(1,',','`') }}