{% extends "finance/base.html" %} {% load static %} {% load custom_filters %} {% block content %}

Journal Entry

{% if search_ref %} Reset {% endif %}
{% csrf_token %}
{% if last_ref %} PDF {% endif %} Export to Excel {% if journal_header and not journal_header.approved %}
{% csrf_token %}
{% endif %}
{% if journal_header %}
Ref No : {{ journal_header.ref_no|format_ref_no }}
Currency : {{ journal_header.currsign }}
Reverse :
Date : {{ journal_header.date|date:"d-m-Y" }}
Rate : {{ journal_header.rate|format_currency_dynamic:journal_header.currsign }}
Entry By : {{ journal_header.entryby }}
Status : {% if journal_header.void %} VOID {% elif journal_header.approved %} APPROVED {% else %} NOT APPROVED {% endif %}
{% endif %}
{% for j in journal %} {% empty %} {% endfor %}
No Account CC AFE Description Vendor Contract No Invoice No Org Amt USD Amt Actions
{{ forloop.counter }} {{ j.acct_no|format_acct_no }} - {{ account_map|get_item:j.acct_no|default:"" }} {{ j.cc_no_id|default:"-" }} {% if j.cc_no_id %} - {{ cc_map|get_item:j.cc_no_id|default:"" }} {% endif %} {{ j.afeno_id|default:"-" }} {% if j.afeno_id %} - {{ afe_map|get_item:j.afeno_id|default:"" }} {% endif %} {{ j.descript }} {{ j.vendorcode|default:"-" }} {% if j.vendorcode %} - {{ vendor_map|get_item:j.vendorcode|default:"" }} {% endif %} {{ j.contractno|default:"-" }} {{ j.invno|default:"-" }} {{ j.oriamt|format_currency_dynamic:j.header.currsign }} {{ j.usdamt|format_currency_dynamic:'USD' }}
{% if j.header.approved %} {% else %} {% endif %}
No Journal entries found
{% if paginator.num_pages > 1 %}
{% if page_obj.has_previous %} First Previous {% else %} {% endif %} Journal {{ page_obj.number }} of {{ paginator.num_pages }} {% if page_obj.has_next %} Next Last {% else %} {% endif %}
{% endif %} {% endblock %}