Vendas por Lista de Produtos
[% IF sales_by_list.lists.keys.size > 0 -%]
----------------------------------------
     [% i18n("VENDAS POR LISTA DE PRODUTOS") %]
----------------------------------------
[% FOREACH list_name IN sales_by_list.lists.keys.sort -%]
[% list_name.chars(22) | format("%-22s") %] [% sales_by_list.lists.$list_name.total | format("%.2f") | format("%7s") %] ([% sales_by_list.lists.$list_name.total_qttys.myround_qtty | format("%.2f") | format("%7s") %])
[% FOREACH prod_name IN sales_by_list.lists.$list_name.products.keys.sort -%]
  [% prod_name.chars(20) | format("%-20s") %] [% sales_by_list.lists.$list_name.products.$prod_name.total | format("%.2f") | format("%7s") %] ([% sales_by_list.lists.$list_name.products.$prod_name.total_qttys.myround_qtty | format("%.2f") | format("%7s") %])
[% END -%]
[% END -%]

[% i18n("Total") | format("%-22s") %] [% sales_by_list.total | format("%.2f") | format("%7s") %] ([% sales_by_list.total_qttys.myround_qtty | format("%.2f") | format("%7s") %])
[% END -%]
