{% extends "base.html" %} {% load widget_tweaks %} {% block title %} Purchases List {% endblock title %} {% block content %}
Purchases List
New Incoming Stock

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

{{ purchase.billno }}

{% if purchase.supplier.is_deleted %} {{ purchase.supplier }}
{% else %} {{ purchase.supplier }}
{% endif %} Ph No : {{ purchase.supplier.phone }}
{% 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 is_paginated %} {% if page_obj.has_previous %} First Previous {% endif %} {% for num in page_obj.paginator.page_range %} {% if page_obj.number == num %} {{ num }} {% elif num > page_obj.number|add:'-3' and num < page_obj.number|add:'3' %} {{ num }} {% endif %} {% endfor %} {% if page_obj.has_next %} Next Last {% endif %} {% endif %}
{% else %}







WOW, SUCH EMPTY
{% endif %} {% endblock content %}