Mesas / Talões não Fechados
[% IF not_closed_checks.keys.size > 0 -%]
----------------------------------------
     [% i18n("MESAS / TALOES NAO FECHADOS") %]
----------------------------------------
[% total = 0 -%]
[% FOREACH area IN not_closed_checks.keys.sort -%]
[% IF not_closed_checks.$area.name != "" -%]
[% IF not_closed_checks.$area.type != "suspend" -%]
[% i18n("Area") %] => [% not_closed_checks.$area.name %]

   [% i18n("TOTAL") %]  [% i18n("MESA / TALAO") %]    [% i18n("CARTÃO") %]
   ------'--------------'---------------
[% FOREACH table IN not_closed_checks.$area.checks -%]
[% table.total | format("%.2f") | format("%8s") %] | [% table.number | format("%-4s") %] | [% IF table.table_to_card %][% table.table_to_card | format("%-4s") %][% ELSE %][% table.custom_table | format("%-4s") %][% END %]
[% END -%]

[% i18n("TOTAL") %]:   [% not_closed_checks.$area.total | format("%.2f") %]
[% total = total + not_closed_checks.$area.total -%]

[% END -%]
[% END -%]
[% END -%]

[% i18n("TOTAL GLOBAL") %]:   [% total | format("%.2f") %]
[% END -%]
