{% extends "base.html" %} {% block title %} {{ supplier.name }}'s profile {% endblock %} {% block content %}
Edit Details

Phone No   : {{ supplier.phone }}
Email Id      : {{ supplier.email }}
GSTIN No   : {{ supplier.gstin }}

Address:
{{ supplier.address|linebreaks }}


{% for purchase in bills %} {% endfor %}
Bill No Stocks Purchased Quantity Purchased Total Purchased Price Purchased Date Options

{{ purchase.billno }}

{% for item in purchase.get_items_list %} {{ item.stock.name }}
{% endfor %}
{% for item in purchase.get_items_list %} {{ item.quantity }}
{% endfor %}
{{ purchase.get_total_price }} {{ purchase.time.date }} View Bill Delete Bill
{% if bills.has_other_pages %} {% if bills.has_previous %} First Previous {% endif %} {% for num in bills.paginator.page_range %} {% if bills.number == num %} {{ num }} {% elif num > bills.number|add:'-3' and num < bills.number|add:'3' %} {{ num }} {% endif %} {% endfor %} {% if bills.has_next %} Next Last {% endif %} {% endif %}
{% endblock content %}