{% extends "root.html" %} {% block title %}manual match{% endblock %} {% block content %}
{% for t in transfers_unmatched %} {% set matchability = t.get_matchability()[0] %} {% set extra = t.get_matchability()[1] %} {% if matchability > 0 %}

{{t.title}}

Amount: {{t.amount/100}}
Title: {{t.title}}
{% if matchability == 1 %}

Previous transfers...

{% set fattycount = t.amount/10000 %} {% set starvingcount = t.amount/5000 %} Unknown type...
This is a one-time payment.
This is a {{fattycount|int}}-time payment. (fatty)
This is a {{starvingcount|int}}-time payment. (starving)
This is a N-time payment. (superfatty?)
{% elif matchability == 2 %} Unknown member...
Add member {{extra}} - starving
Add member {{extra}} - fatty
Add member {{extra}} - supporting
username:
{% elif matchability == 3 %} Unparseable...
username:
{% endif %}
{% endif %} {% endfor %}
{% endblock %}