{{ snippet("header") }}
{{ __("vendor_debt_payout.weekly_digest_of_debtors.message", {"[href]": href}) }}
<br /><br />
{% if suspended_vendors %}
    <b>{{ __("vendor_debt_payout.list_of_vendors_got_suspended_label") }}</b>
    <br /><br />
    <table width="50%">
        <tr><th>{{ __("vendor") }}</th><th>{{ __("vendor_debt_payout.debt_owned") }}</th></tr>
        {% for vendor in suspended_vendors %}
            <tr><td>{{vendor.company}}</td><td>{{vendor.debt}}</td></tr>
        {% endfor %}
    </table>
{% else %}
    <b>{{ __("vendor_debt_payout.empty_list_of_vendors_got_suspended_label") }}</b>
{% endif %}
<br /><br />
{% if active_vendors %}
    <b>{{ __("vendor_debt_payout.list_of_vendors_got_suspended_and_paid_label") }}</b>
    <br /><br />
    <table width="50%">
        <tr><th>{{ __("vendor") }}</th><th>{{ __("vendor_debt_payout.account_balance") }}</th></tr>
        {% for vendor in active_vendors %}
            <tr><td>{{vendor.company}}</td><td>{{vendor.balance}}</td></tr>
        {% endfor %}
    </table>
{% else %}
    <b>{{ __("vendor_debt_payout.empty_list_of_vendors_got_suspended_and_paid_label") }}</b>
{% endif %}
<br /><br />
<b>{{ __("vendor_debt_payout.total_debts", {"[total_debt]": total_debt}) }}</b>
{{ snippet("footer") }}