{% extends "base.html" %} {% block title %}{{ nm(f) }}{% endblock %} {% block content %}
{{ t('Petty Cash') }}

{{ nm(f) }}

{{ t('Custodian') }}: {{ f.custodian or '—' }} · {{ t('Account') }} {{ acc.code }} {{ nm(acc) }}
{{ t('General Ledger') }} {% if can_write and f.active %}+ {{ t('Expense voucher') }}{% endif %}
{{ t('Cash in the fund') }}
{{ balance|money(cur) }}
{{ cur }}
{{ t('Float') }}
{{ f.float_amount|money(cur) }}
{{ t('Spent (to top up)') }} {{ suggested|money(cur) }}
{% if can_write %}
{{ t('Dr Petty Cash / Cr Bank') }}
{{ t('Any difference goes to Cash Over / Short.') }}
{% endif %}

{{ t('Vouchers') }}

{% for v in vouchers %} {% else %}{% endfor %}
{{ t('Number') }}{{ t('Date') }}{{ t('Paid to') }}{{ t('Notes') }}{{ t('Total') }}{{ t('Status') }}
{{ v.number }}{{ v.date }}{{ v.payee or '' }}{{ v.notes or '' }} {{ v.total|money(cur) }}{{ t(v.state|capitalize) }}
{{ t('Nothing yet.') }}

{{ t('Top-ups and cash counts') }}

{% for m in movements %} {% else %}{% endfor %}
{{ t('Date') }}{{ t('Type') }}{{ t('Amount') }}
{{ m.date }}{{ t('Top-up') if m.kind == 'topup' else (t('Cash over') if m.amount > 0 else t('Cash short')) }} {{ m.amount|money(cur) }}{% if m.move_id %}{{ t('Journal Entry') }}{% endif %}
{{ t('Nothing yet.') }}
{% if can_write %}

{{ t('Fund settings') }}

{% endif %} {% endblock %}