{% extends "base.html" %} {% from "_macros.html" import state_badge, branch_tag with context %} {% block title %}{{ t('Inter-branch Transfers') }}{% endblock %} {% block content %}

{{ t('Inter-branch Transfers') }}

{{ t('Each transfer posts an entry in both branches through the inter-branch account, which is eliminated on consolidation.') }}
{% if can_write %}
+ {{ t('New Transfer') }}
{% endif %}
{% for r in rows %} {% else %}{% endfor %}
{{ t('Date') }}{{ t('From') }}{{ t('To') }}{{ t('Amount sent') }} {{ t('Amount received') }}{{ t('Reference') }}{{ t('Status') }}
{{ r.date }}{{ branch_tag(branches, r.from_branch) }}{{ branch_tag(branches, r.to_branch) }} {{ r.amount_from|money }} {{ branches[r.from_branch].currency if r.from_branch in branches else '' }} {{ r.amount_to|money }} {{ branches[r.to_branch].currency if r.to_branch in branches else '' }} {{ r.ref or '' }}{{ state_badge(r.state) }}
{{ t('Nothing yet.') }}
{% endblock %}