mirror of
https://github.com/almet/copanier.git
synced 2025-04-28 19:42:37 +02:00
Make product edition easier. Fixes #4
This commit is contained in:
parent
dbd88c2d09
commit
3b9b667be8
1 changed files with 2 additions and 0 deletions
|
@ -88,6 +88,7 @@ Des frais de livraison de {{ delivery.shipping[producer.id] }}€ ont été enre
|
||||||
<th>Packaging</th>
|
<th>Packaging</th>
|
||||||
<th>Rupture ?</th>
|
<th>Rupture ?</th>
|
||||||
<th></th>
|
<th></th>
|
||||||
|
<th></th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
{% for product in products %}
|
{% for product in products %}
|
||||||
|
@ -98,6 +99,7 @@ Des frais de livraison de {{ delivery.shipping[producer.id] }}€ ont été enre
|
||||||
<td>{{ product.description }}</td>
|
<td>{{ product.description }}</td>
|
||||||
<td>{% if product.packing %}{{ product.packing }}{% endif %}</td>
|
<td>{% if product.packing %}{{ product.packing }}{% endif %}</td>
|
||||||
<td>{% if product.rupture %}RUPTURE !!{% endif %}</td>
|
<td>{% if product.rupture %}RUPTURE !!{% endif %}</td>
|
||||||
|
<td><a href="{{ url_for('edit_product', delivery_id=delivery.id, producer_id=producer.id, product_ref=product.ref) }}">modifier</a></td>
|
||||||
<td><a href="{{ url_for('delete_product', delivery_id=delivery.id, producer_id=producer.id, product_ref=product.ref) }}">supprimer</a></td>
|
<td><a href="{{ url_for('delete_product', delivery_id=delivery.id, producer_id=producer.id, product_ref=product.ref) }}">supprimer</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
Loading…
Reference in a new issue