{% extends "base.html" %} {% block title %}Voucher {{ voucher.voucher_no }}{% endblock %} {% block page_title %}Voucher {{ voucher.voucher_no }}{% endblock %} {% block content %}
Voucher Details
Back
Date:
{{ voucher.voucher_date.strftime('%d-%m-%Y') }}
Voucher No:
{{ voucher.voucher_no }}
Type:
{{ voucher.voucher_type.type_name }}
Status:
{{ voucher.status|title }}
Reference:
{{ voucher.reference_no or '-' }}
Narration:
{{ voucher.narration or '-' }}
Entries
{% for entry in voucher.entries %} {% endfor %}
Ledger Narration Debit Credit
{{ entry.ledger.ledger_name }} {{ entry.line_narration or '' }} {{ entry.debit_amount }} {{ entry.credit_amount }}
Total {{ '%.2f'|format(voucher.total_debit()) }} {{ '%.2f'|format(voucher.total_credit()) }}
{% endblock %}