% if report.method_summary:

${ _("Per Payment Method") }

<% in_sum = 0 out_sum = 0 %> % for (method_name, in_value, out_value) in report.method_summary: <% in_sum += in_value out_sum += out_value %> % endfor
${ _("Payment Method") } ${ _("Income Total") } ${ _("Outgoing Total") }
${ method_name } ${ format_price(in_value) } ${ format_price(out_value) }
Total: ${ format_price(in_sum) } ${ format_price(out_sum) }
% endif