Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
proc
/
212
/
root
/
proc
/
212
/
task
/
212
/
root
/
proc
/
70528
/
cwd
/
templates
/
back
/
product
/
//proc/212/root/proc/212/task/212/root/proc/70528/cwd/templates/back/product/price.html.twig
{% extends "back/layout.html.twig" %} {% block content %} <a href="{{ path("back_product_edit", { id : product.id }) }}" class="btn btn-secondary">Retour</a><br><br> <h2>Prix actifs</h2><hr> <table class="table"> <thead> <tr> <th>ID</th> <th>Produit</th> <th>Couleur</th> <th>Pliage</th> <th>Format</th> <th>Finition</th> <th>Support</th> <th>Pages</th> <th>Quantité</th> <th>Prix (Cliquez pour modifier)</th> <th>Action</th> </tr> </thead> {% for price in product.prices %} {% if price.active %} <tr> <th>{{ price.id }}</th> <th>{{ price.product.name }}</th> <th>{{ price.color.name }}</th> <th>{{ price.fold.name }}</th> <th>{{ price.size.name }}</th> <th>{{ price.finishing.name }}</th> <th>{{ price.grammage.name }}</th> <th>{{ price.page.name }}</th> <th>{{ price.quantity.quantity }}</th> <th class="price_elem" data-id="{{ price.id }}" title="Cliquez pour modifier"> <span class="price_value">{{ price.price }}</span> € <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-pen" viewbox="0 0 16 16"> <path d="m13.498.795.149-.149a1.207 1.207 0 1 1 1.707 1.708l-.149.148a1.5 1.5 0 0 1-.059 2.059L4.854 14.854a.5.5 0 0 1-.233.131l-4 1a.5.5 0 0 1-.606-.606l1-4a.5.5 0 0 1 .131-.232l9.642-9.642a.5.5 0 0 0-.642.056L6.854 4.854a.5.5 0 1 1-.708-.708L9.44.854A1.5 1.5 0 0 1 11.5.796a1.5 1.5 0 0 1 1.998-.001zm-.644.766a.5.5 0 0 0-.707 0L1.95 11.756l-.764 3.057 3.057-.764L14.44 3.854a.5.5 0 0 0 0-.708l-1.585-1.585z"/> </svg> </th> <th> <a href="{{ path("back_product_price_archive", { id : product.id, price: price.id }) }}" class="btn btn-danger">Archiver</a> </th> </tr> {% endif %} {% endfor %} </table> <h2>Prix archivés</h2> <hr> <table class="table"> <thead> <tr> <th>ID</th> <th>Produit</th> <th>Couleur</th> <th>Pliage</th> <th>Format</th> <th>Finition</th> <th>Support</th> <th>Pages</th> <th>Quantité</th> <th>Prix (Cliquez pour modifier)</th> <th>Action</th> </tr> </thead> {% for price in product.prices %} {% if not price.active %} <tr> <th>{{ price.id }}</th> <th>{{ price.product.name }}</th> <th>{{ price.color.name }}</th> <th>{{ price.fold.name }}</th> <th>{{ price.size.name }}</th> <th>{{ price.finishing.name }}</th> <th>{{ price.grammage.name }}</th> <th>{{ price.page.name }}</th> <th>{{ price.quantity.quantity }}</th> <th class="price_elem" data-id="{{ price.id }}" title="Cliquez pour modifier"> <span class="price_value">{{ price.price }}</span> € <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-pen" viewbox="0 0 16 16"> <path d="m13.498.795.149-.149a1.207 1.207 0 1 1 1.707 1.708l-.149.148a1.5 1.5 0 0 1-.059 2.059L4.854 14.854a.5.5 0 0 1-.233.131l-4 1a.5.5 0 0 1-.606-.606l1-4a.5.5 0 0 1 .131-.232l9.642-9.642a.5.5 0 0 0-.642.056L6.854 4.854a.5.5 0 1 1-.708-.708L9.44.854A1.5 1.5 0 0 1 11.5.796a1.5 1.5 0 0 1 1.998-.001zm-.644.766a.5.5 0 0 0-.707 0L1.95 11.756l-.764 3.057 3.057-.764L14.44 3.854a.5.5 0 0 0 0-.708l-1.585-1.585z"/> </svg> </th> <th> <a href="{{ path("back_product_price_unarchive", { id : product.id, price: price.id }) }}" class="btn btn-warning">Désarchiver</a> </th> </tr> {% endif %} {% endfor %} </table> {% endblock %} {% block javascripts %} <script> const PRODUCTID = {{ product.id }} </script> {{ parent() }} <script src="{{ asset("js/price-edit.js") }}"></script> {% endblock %}