{% extends "base.html" %} {% from "_macros.html" import branch_tag with context %} {% block title %}{{ t('Petty Cash') }}{% endblock %} {% block content %}

{{ t('Petty Cash') }}

{{ t('Each fund has its own cash account. Expenses are paid from it with vouchers and it is topped up from the bank.') }}
{% for f in rows %} {% else %}{% endfor %}
{{ t('Fund') }}{{ t('Branch') }}{{ t('Custodian') }}{{ t('Float') }}{{ t('Cash in the fund') }}{{ t('Spent (to top up)') }}{{ t('Draft vouchers') }}
{{ nm(f) }}{% if not f.active %} {{ t('Inactive') }}{% endif %}{{ branch_tag(branches, f.branch_id) }}{{ f.custodian or '' }} {{ f.float_amount|money(f.cur) }}{{ f.balance|money(f.cur) }} {{ ([f.float_amount - f.balance, 0]|max)|money(f.cur) }}{{ f.drafts or '' }}
{{ t('No petty cash funds yet.') }}
{% if can_write %}

{{ t('New petty cash fund') }}

{{ t('The amount the fund is topped up to.') }}
{% endif %} {% endblock %}