{% extends 'base.html' %} {% load static %} {% block title %}
No of Bottles: {{ user.NoOfBottles }}
Monthly Bill: {{ user.MonthlyBill }}
{% if user.AmountDue < 0 %} {% load mathfilters %}Credits: {{ user.AmountDue|mul:-1 }}
{% else %}Amount Due: {{ user.AmountDue }}
{% endif %}Date | Time | Status | ||
---|---|---|---|---|
{{ order.ordered_at.date }} |
{{ order.ordered_at.time }} | {% if order.confirmed %}Your order has been confirmed by admin | {% elif order.delivered %}This order was delivered on {{ order.delivered_at }} | {% else %}Your order has not been confirmed by admin | {% endif %}