mirror of
https://github.com/ae-utbm/sith.git
synced 2026-06-05 07:39:21 +00:00
clean invalid items from eboutic baskets
This commit is contained in:
@@ -30,7 +30,17 @@
|
||||
{% block content %}
|
||||
<h1 id="eboutic-title">{% trans %}Eboutic{% endtrans %}</h1>
|
||||
|
||||
<div id="eboutic" x-data="basket({{ last_purchase_time }})">
|
||||
<div
|
||||
id="eboutic"
|
||||
x-data="basket(
|
||||
[{%- for prices in categories -%}
|
||||
{%- for p in prices -%}
|
||||
{% if not p.sold_out %}{{ p.id }},{% endif %}
|
||||
{%- endfor -%}
|
||||
{%- endfor -%}],
|
||||
{{ last_purchase_time }},
|
||||
)"
|
||||
>
|
||||
<div id="basket">
|
||||
<h3>Panier</h3>
|
||||
<form method="post" action="">
|
||||
|
||||
Reference in New Issue
Block a user