{% extends "vendor/base.html" %} {% load i18n %} {% block vendor_content %}
| {% trans '#' %} | {% trans 'Item' %} | {% trans 'Price' %} | {% trans 'Quantity' %} | {% trans 'Total' %} |
|---|---|---|---|---|
| {{ forloop.counter }} | {{item.name}} | ${{item.price|floatformat:2}} | add{{item.quantity}} remove | ${{item.total|floatformat:2}} |
| {% trans 'Subtotal' %} | ${{ object.subtotal|floatformat:2 }} | |||
| {% trans 'Sales Tax' %} | {% if object.tax == None %}TBD{% else %}${{ object.tax|floatformat:2 }}{% endif %} | |||
| {% trans 'Shipping' %} | {% if object.shipping == None %}TBD{% else %}${{ object.shipping|floatformat:2 }}{% endif %} | |||
| {% trans 'Total' %} | {% if object.total == None %}TBD{% else %}${{ object.total|floatformat:2 }}{% endif %} | |||