Mapa de IVA por Familia
[% IF sales_family.families.keys.size > 0 -%]
----------------------------------------
        [% i18n("MAPA DE IVA POR FAMILIA") %]
----------------------------------------
[% FOREACH family IN sales_family.families.keys.sort -%]
========================================
[% family | format("%-40s") %]
========================================
[% i18n("TAXA") %]         [% i18n("BASE") %]        [% i18n("IVA") %]       [% i18n("TOTAL") %]
[% FOREACH vat IN sales_family.families.$family.vats.keys.nsort -%]
[% vat | format("%.2f") | format("%6s") %]    [% sales_family.families.$family.vats.$vat.total_wo_vat | format("%.2f") | format("%8s") %]  [% sales_family.families.$family.vats.$vat.total - sales_family.families.$family.vats.$vat.total_wo_vat | format("%.2f") | format("%8s") %]   [% sales_family.families.$family.vats.$vat.total | format("%.2f") | format("%9s") %]
[% END -%]
----------------------------------------
[% " " | format("%6s") %]    [% sales_family.families.$family.total_wo_vat | format("%.2f") | format("%8s") %]  [% sales_family.families.$family.total - sales_family.families.$family.total_wo_vat | format("%.2f") | format("%8s") %]   [% sales_family.families.$family.total | format("%.2f") | format("%9s") %]

[% END -%]
========================================
[% i18n("Total") | format("%6s") %]    [% sales_family.total_wo_vat | format("%.2f") | format("%8s") %]  [% sales_family.total - sales_family.total_wo_vat | format("%.2f") | format("%8s") %]   [% sales_family.total | format("%.2f") | format("%9s") %]
[% END -%]
