mirror of
https://github.com/almet/copanier.git
synced 2025-04-28 11:32:38 +02:00
Display the order button only when products have been imported
This commit is contained in:
parent
f450742e39
commit
626004313f
1 changed files with 1 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
||||||
{% if delivery.status == delivery.OPEN or delivery.status == delivery.ADJUSTMENT %}
|
{% if (delivery.status == delivery.OPEN or delivery.status == delivery.ADJUSTMENT) and delivery.has_products %}
|
||||||
<a class="button" href="/livraison/{{ delivery.id }}/commander">
|
<a class="button" href="/livraison/{{ delivery.id }}/commander">
|
||||||
{% if delivery.status == delivery.ADJUSTMENT %}
|
{% if delivery.status == delivery.ADJUSTMENT %}
|
||||||
Ajuster ma commande
|
Ajuster ma commande
|
||||||
|
|
Loading…
Reference in a new issue