diff --git a/src/purchase/templates/purchase/basket_list.html b/src/purchase/templates/purchase/basket_list.html index 1c68bfb..f80048d 100644 --- a/src/purchase/templates/purchase/basket_list.html +++ b/src/purchase/templates/purchase/basket_list.html @@ -3,7 +3,7 @@ {% load purchase %} {% block content %}

{% translate "Baskets" %}

-
+
{% for basket in baskets %}
@@ -12,7 +12,13 @@

{% blocktranslate count counter=basket.items.count %}1 item{% plural %}{{ counter }} items{% endblocktranslate %}
{{ basket.price|currency }}
- {{ basket.payment_method|default:"-" }} + {{ basket.payment_method|default:"-" }}
+ {% now "Y-m-d" as todays_date %} + {% if basket.created_at|date:"Y-m-d" == todays_date %} + {{ basket.created_at|date:"TIME_FORMAT" }} + {% else %} + {{ basket.created_at }} + {% endif %}

{% if perms.purchase.change_basket %}