{% include "modules/common/components/info-block.twig" with { text_translation_string : 'payments.moneyOwed.infoBlock.text.mainDescription', header_translation_string : 'payments.moneyOwed.infoBlock.header' } %}
{# Owed by others #}
{% include 'modules/my-payments/components/owed.table.html.twig' with { 'records' : owed_by_others, 'summarries': summary_owed_by_others } %}
{# Owed by me #}
{% include 'modules/my-payments/components/owed.table.html.twig' with { 'records' : owed_by_me, 'summarries': summary_owed_by_me } %}
{# Totall summary#}

{{ 'other.overallSummary' | trans }}

{{ 'payments.moneyOwed.headers.owedByMe' | trans }}
{% include 'modules/my-payments/components/owed-overal-summary.html.twig' with {"summarries": summary_overall_owed_by_me} %}
{{ 'payments.moneyOwed.headers.owedByOthers' | trans }}
{% include 'modules/my-payments/components/owed-overal-summary.html.twig' with {"summarries": summary_overall_owed_by_others} %}
{# Form #}

{{ 'payments.moneyOwed.headers.addRecord' | trans }}

{{ form_start(form,{'attr':{' data-entity':"MyPaymentsOwed"}}) }} {{ form_end(form) }}