{% extends 'base.html' %} {% block content %}

Bill Details:

Invoice Number: {{data.id}}
Invoice Date: {{data.product_date}}

Seller

{% for s in seller %} {% endfor %}
Name {{s.name}}
Address {{s.address}}
Phone {{s.phone}}

Buyer

Name {{data.bname}}
Address {{data.baddress}}
Phone {{data.bphone}}
Product Quantity Amount
{{data.pname}} {{data.pquantity}} {{data.pprice}}
Grand Total {{data.ptotal}}
{% endblock %}