{% extends 'sales/base.html' %} {% load static %} {% load thumbnail %} {% block breadcrumb %} {% block extralinks %} {% endblock extralinks %} {% endblock breadcrumb %} {% block content %}
Overview
{% if invoice.invoice_title %}
{% endif %} {% if invoice.invoice_number %}
{% endif %} {% if invoice.name %}
{% endif %} {% if invoice.email %}
{% endif %} {% if invoice.phone %}
{% endif %}
{% if invoice.quantity %}
{% endif %} {% if invoice.rate %}
{% endif %} {% if invoice.total_amount %}
{% endif %} {% if invoice.currency %}
{% endif %} {% if invoice.status %}
{% endif %}
{% if invoice.is_email_sent %} {% else %} {% endif %}
{% if invoice.due_date %}
{% endif %} {% if invoice.details %}
{% endif %} {% if invoice.assigned_to.all %}
{% for user in invoice.assigned_to.all %} {% endfor %}
{% 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 %}
Created by {{ invoice.created_by }} created on {{ invoice.created_on }}
Attachments
{% csrf_token %}

    {% 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|date:'m/d/Y,  h:i A' }}
  • {% endfor %}
Comments
{% csrf_token %}

    {% 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|date:'m/d/Y,  h:i:s A' }}
  • {% endfor %}

Processing File...

{% endblock content %} {% block js_block %} {% endblock js_block %}