{% extends "base.html.twig" %} {% block BeforeAnyCSSFile %} {% for file in encore_entry_css_files('select2__init') %} {% endfor %} {% endblock %} {% block ExtraCSSFiles %} {% endblock %} {% set pagename = 'Invoice List' | trans %} {% block MainContent %}

{{ 'Filter Recrods'|trans }}  

{#active class of active sessions - when class is selected then enrolled users are load accordingly#} {% set ColsClass = 'col-lg-2 col-md-2 col-sm-4 col-xs-6' %} {# filters #}
{# Invoice search by invoice stauts#}
{# invoice search by Student #}
{# Search & Reset Button #}
 
{# list of invoices#}
{% for inv in inv_ls %} {# invoice #} {# invoice register to, #} {# invoice to date#} {# invoice due date #} {# invoice amount #} {# invoice status #} {% endfor %}
{{ 'Ref#'|trans }} {{ 'Invoice to'|trans }} {{ 'Invoice date'|trans }} {{ 'Due date'|trans }} {{ 'Amount'|trans }} {{ 'Status'|trans }}
{% if is_granted("ROLE_ADMIN") %} {{ inv.getInvReference }} {% else %} {{ inv.getInvReference }} {% endif %} {{ inv.getInvoiceGeneratedForUnregisterUsername is empty ? inv.getInvGeneratedFor.getFName : inv.getInvoiceGeneratedForUnregisterUsername ~ ' (Un-register user)' }} {{ date_format( inv.getInvGeneratedDatetime) }} {{ date_format( inv.getInvDueDate) }} {{ getAppSetting('currencyPreFix') }} {{ inv.getTotalAmountOfInvoice }} {{ getAppSetting('currencySuffex') }} {% if inv.getTheInvoiceStatus == 'Paid' %} {{ 'Paid' | trans }} {% elseif inv.getTheInvoiceStatus == 'Partial Paid' %} {{ 'Partial Paid' | trans }}
{{ inv.getTheInvoiceAmountWhichIsNotPaid }} {{ 'remainig ' }} {% elseif inv.getTheInvoiceStatus == 'Over Paid' %} {{ 'Over Paid' | trans }} {% elseif inv.getTheInvoiceStatus == 'Un Paid' %} {{ 'Un Paid' | trans }} {% else %} {{ inv.getTheInvoiceStatus }} {% endif %}
{% endblock %} {% block ExtraJsFIles %} {% endblock %} {% block documentation %} {% endblock %}