Anulações com Desperdicio por motivo
[% IF voids_by_reason.totals.keys.size > 0 -%]
----------------------------------------
 [% i18n("ANULAÇÕES C/ DESPERDÍCIO POR MOTIVO") %]
----------------------------------------
[% i18n("Por funcionario") %]
--------------------------
[% FOREACH login IN voids_by_reason.logins.keys.sort -%]
[% login %]
[% FOREACH reason IN voids_by_reason.logins.$login.keys.sort -%]
  [% reason | format("%-20s") %] [% voids_by_reason.totals.$reason.total | format("%.2f") | format("%7s") %] ([% voids_by_reason.totals.$reason.total_qttys.myround_qtty | format("%.2f") | format("%7s") %])
[% END -%]
[% END -%]

[% i18n("Por produto") %]
--------------------------
[% FOREACH product IN voids_by_reason.products.keys.sort -%]
[% product %]
[% FOREACH reason IN voids_by_reason.products.$product.keys.sort -%]
  [% reason | format("%-20s") %] [% voids_by_reason.products.$product.$reason.total | format("%.2f") | format("%7s") %] ([% voids_by_reason.products.$product.$reason.total_qttys.myround_qtty | format("%.2f") | format("%7s") %])
[% END -%]
[% END -%]

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