{% extends "finance_and_banking_base.html" %} {% load static %} {% load crispy_forms_tags %} {% load custom_filters %} {% block title %} Old Costing Report {% endblock title %} {% block Style %} {% endblock Style %} {% block MainContent %} {% if messages %} {% for message in messages %} {% endfor %} {% endif %}

Old Budget Costing Report

{% csrf_token %}
{{form.parent_file|as_crispy_field }}
{{form.order_no|as_crispy_field }}
{% comment %} {% if report_list and file and total_value and total_lc_value and total_consignment_value and total_request_value and total_acceptance_value and total_maturity_value and tatal_payment_value %} {% endcomment %} {% if file %}
{% comment %} {% endcomment %}

{{file.beneficiary_company}}

{% comment %}
File wise import position of {{file.beneficiary_company}}
{% endcomment %}
{{file.beneficiary_company.branch.branch.address_details}}
Old Budget Costing -{{order_no}}
{% comment %} {% endcomment %} {% for material_type, items in grouped_data.items %} {% for item in items %} {% comment %} {% endcomment %} {% endfor %} {% with totals=group_totals|get_item:material_type %} {% endwith %} {% endfor %}
SLMaterial TypeItem Costing PI Value Balance Supplier Name
{{ forloop.parentloop.counter }}.{{ forloop.counter }}{{ material_type }}{{ item.costing.good_description }} ${{ item.costing.costing_value|floatformat:2 }} ${{ item.pi_value|floatformat:2 }} ${{ item.balance|floatformat:2 }} {{ item.costing.supplier }}
Subtotal for {{ material_type|title }} ${{ totals.costing_total|floatformat:2 }} ${{ totals.pi_total|floatformat:2 }} ${{ totals.balance_total|floatformat:2 }}
Grand Total ${{ grand_total_costing|floatformat:2 }} ${{ grand_pi_value|floatformat:2 }} ${{ grand_balance|floatformat:2 }} Actual Balance : {{actual_balance |floatformat:2}}
{% endif %} {% endblock MainContent %} {% block meassage %} {% include 'notifications/notifications.html' %} {% endblock meassage %} {% block JS %} {% endblock JS%}