{% extends "finance_and_banking_base.html" %} {% load static %} {% load crispy_forms_tags %} {% block title %} BTB LC & Amendments {% endblock title %} {% block Style %} {% endblock Style %} {% block MainContent %} {% if messages %} {% for message in messages %} {% endfor %} {% endif %}

BTB LC and Amendmentss

{% comment %} {% endcomment %} {% if lc_opened_requests %} {% for item,request_data, cumulative_amendments, cumulative_total, total_lc_value,total_pi_value in lc_opened_requests %} {% comment %} {% endcomment %} {% endfor %} {% else %} {% endif %}
SL Parent File BTB LC NO LC Type Opening Date Tenor Supplier PI No PI Value Finance FileFile ValueLC Value Amendments Value Total LC Value Remarks Transfer Action
{{forloop.counter}} {{ item.parent_file }} {{ item.lc_no }} {{ item.get_lc_type_display }} {{ item.opening_date }} {{ item.tenor.terms_short_name }} {% if item.supplier %} {{ item.supplier }} {% else %} {% for request in request_data %} {{request.supplier}} {% endfor %} {% endif %} {% if request_data %} {% for request in request_data %} {{ request.pi_no }}{% if not forloop.last %}, {% endif %} {% endfor %} {% else %} N/A {% endif %} ${{ total_pi_value }} {{ item.finance_file }}${{ item.finance_file.file_display_value }}${{ item.value }} {% if cumulative_amendments %} {% if cumulative_amendments|length > 1 %} {% for amendment in cumulative_amendments %} ${{ amendment }}{% if not forloop.last %} + {% endif %} {% endfor %} = ${{ cumulative_total }} {% else %} ${{ cumulative_amendments.0 }} = ${{ cumulative_total }} {% endif %} {% else %} $0 {% endif %} ${{ total_lc_value }} {{ item.remarks|default:"N/A" }} {{ item.transfer_status }}
Data is not found
{% if file_list.has_other_pages %} {% endif %}
{% endblock MainContent %} {% block meassage %} {% include 'notifications/notifications.html' %} {% endblock meassage %} {% block JS %} {% endblock JS %}