{% extends 'sales/base.html' %} {% load static %} {% load paginate %} {% load thumbnail %} {% block breadcrumb %} {% block extralinks %} {% endblock extralinks %} {% endblock breadcrumb %} {% block content %}
Overview

{% if invoice.invoice_title %}
{{ invoice.invoice_title }}
{% endif %}
{% if invoice.status %}
{{ invoice.status }}
{% endif %}
{% if invoice.invoice_number %}
{{ invoice.invoice_number }}
{% endif %}
{% if invoice.from_address.address_line or invoice.from_address.street or invoice.from_address.city or invoice.from_address.state or invoice.from_address.postcode or invoice.from_address.country %}
{{invoice.from_address.get_complete_address}}

{% endif %} {% if invoice.to_address.address_line or invoice.to_address.street or invoice.to_address.city or invoice.to_address.state or invoice.to_address.postcode or invoice.to_address.country %}
{{invoice.to_address.get_complete_address}}

{% endif %}
{% if invoice.name %}
{{ invoice.name }}
{% endif %}
{% if invoice.email %}
{{ invoice.email }}
{% endif %}
{% if invoice.email %}
{{ invoice.phone }}
{% endif %}
{% if invoice.currency %}
{{ invoice.currency }}
{% endif %}
{% if invoice.assigned_to.all %}
{% for user in invoice.assigned_to.all %} {% endfor %}
{% endif %}
{% if invoice.due_date %}
{{ invoice.due_date }}
{% endif %}
{% if invoice.quantity %}
{{ invoice.quantity }}
{% endif %} {% if invoice.rate %}
{{ invoice.rate }}
{% endif %} {% if invoice.total_amount %}
{{ invoice.total_amount }}
{% endif %}
{% if invoice.details %}
{{ invoice.details }} {% endif %}
Created by {{ invoice.created_by }} on {{ invoice.created_on_arrow }}

Attachments

    {% for attachment in attachments %}
  • {% if request.user.is_superuser or request.user.role == 'ADMIN' or request.user == attachment.created_by %}
    {% endif %}
    {% if attachment.attachment %} {% if 'image' in attachment.file_type %} {% thumbnail attachment.attachment "80x80" crop="center" as im %} {% endthumbnail %} {% endif %} {% endif %}
      {{attachment.file_name}} Download
    Uploaded by :{{ attachment.created_by }}
    {{ attachment.created_on_arrow }}
  • {% endfor %}

Comments

    {% for comment in comments %}
  • {% if request.user.is_superuser or request.user.role == 'ADMIN' or request.user == comment.commented_by %}
    {% endif %}
    {{ comment.comment }}
    {{ comment.commented_by }}
    {{ comment.commented_on_arrow }}
  • {% endfor %}
Invoice History
{% if invoice_history|length > 0 %} {% endif %} {% if per_page %} {% paginate per_page invoice_history %} {% else%} {% paginate 10 invoice_history %} {% endif %} {% for invoice in invoice_history %} {% endfor %}
S.No Date Invoice Number Name Status Description Amount
{{ forloop.counter }} {{ invoice.created_on_arrow }} {{ invoice.invoice_number }} {% if invoice.updated_by %} {% if invoice.updated_by.profile_pic %} {% thumbnail invoice.updated_by.profile_pic "40x40" crop="center" as im %} {% endthumbnail %} {% else %} Micro profile pic {% endif %} {% else %} Micro profile pic {% endif %} {{ invoice.status }} {{ invoice.details }} {{ invoice.total_amount }}
{% show_pages %}
{% ifequal invoice_history|length 0 %}
No Invoice History Records Found
{% endifequal %}

Processing File...
{% endblock content %} {% block js_block %} {% endblock js_block %}