{% extends 'sales/base.html' %} {% load static %} {% load paginate %} {% load thumbnail %} {% block extralinks %} {% endblock %} {% block content %}
Filters
Clear
Invoices - {% if show_pageitems %} {% show_pageitems %}{% else %} {{ invoices|length }}{% endif %}
{% if invoices|length > 0 %} {% endif %} {% if per_page %} {% paginate per_page invoices %} {% else %} {% paginate 10 invoices %} {% endif %} {% for invoice in invoices %} {% if invoice.due_date < today %} {% else %} {% endif %} {% endfor %}
ID Invoice Title Invoice Number Email Status Assigned To Created by Created On Actions
{{ forloop.counter }} {{ invoice.invoice_title }} {{ invoice.invoice_number }} {{ invoice.email }} {{ invoice.status }} {% with users=invoice.get_team_and_assigned_users %} {% for user in users %} {% if user.profile_pic %} {% thumbnail user.profile_pic "40x40" crop="center" as im %} {% endthumbnail %} {% else %} {% endif %} {% empty %} None {% endfor %} {% endwith %} {% if invoice.created_by %} {% if invoice.created_by.profile_pic %} {% thumbnail invoice.created_by.profile_pic "40x40" crop="center" as im %} {% endthumbnail %} {% else %} Micro profile pic {% endif %} {% else %} None {% endif %} {{ invoice.created_on_arrow }} {% if request.user == invoice.created_by or request.user.role == "ADMIN" or request.user.is_superuser %} {% if invoice.is_draft %} {% endif %} {% if invoice.is_sent == True %} {% endif %} {% if invoice.is_resent %} {% endif %} {% if invoice.is_paid_or_cancelled == True %} {% endif %} {% endif %}
{{ forloop.counter }} {{ invoice.invoice_title }} {{ invoice.invoice_number }} {{ invoice.email }} {{ invoice.status }} {% with users=invoice.get_team_and_assigned_users %} {% for user in users %} {% if user.profile_pic %} {% thumbnail user.profile_pic "40x40" crop="center" as im %} {% endthumbnail %} {% else %} {% endif %} {% empty %} None {% endfor %} {% endwith %} {% if invoice.created_by %} {% if invoice.created_by.profile_pic %} {% thumbnail invoice.created_by.profile_pic "40x40" crop="center" as im %} {% endthumbnail %} {% else %} Micro profile pic {% endif %} {% else %} None {% endif %} {{ invoice.created_on_arrow }} {% if request.user == invoice.created_by or request.user.role == "ADMIN" or request.user.is_superuser %} {% if invoice.is_draft %} {% endif %} {% if invoice.is_sent == True %} {% endif %} {% if invoice.is_resent %} {% endif %} {% if invoice.is_paid_or_cancelled == True %} {% endif %} {% endif %}
{%ifequal invoices|length 0%}
No Invoices Found
{%endifequal%}
{% show_pages %}
{% for invoice in invoices %} {% endfor %} {% endblock %} {% block js_block %} {% endblock js_block %}