src/Eccube/Resource/template/admin/Product/product_class_popup.twig line 1

Open in your IDE?
  1. {#
  2. This file is part of EC-CUBE
  3. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  4. http://www.ec-cube.co.jp/
  5. For the full copyright and license information, please view the LICENSE
  6. file that was distributed with this source code.
  7. #}
  8. <table class="table table-striped">
  9.     <thead class="table-active">
  10.     <tr>
  11.         <th class="pt-2 pb-2 ps-2">{{ 'admin.product.class_category1__short'|trans }}</th>
  12.         <th class="pt-2 pb-2">{{ 'admin.product.class_category2__short'|trans }}</th>
  13.         <th class="pt-2 pb-2">{{ 'admin.product.product_code__short'|trans }}</th>
  14.         <th class="pt-2 pb-2">{{ 'admin.product.stock'|trans }}</th>
  15.         <th class="pt-2 pb-2 pe-2">{{ 'admin.product.price'|trans }}</th>
  16.     </tr>
  17.     </thead>
  18.     <tbody>
  19.     {% for Class in data %}
  20.         <tr id="ex-class-{{ Class.id }}">
  21.             <td class="ps-3">{% if Class.hasClassCategory1 %}{{ Class.ClassCategory1.name }}{% endif %}</td>
  22.             <td>{% if Class.hasClassCategory2 %}{{ Class.ClassCategory2.name }}{% endif %}</td>
  23.             <td>{{ Class.code }}</td>
  24.             <td>{% if Class.stock_unlimited %}{{ 'admin.product.stock_unlimited__short'|trans }}{% else %}{{ Class.stock }}{% endif %}</td>
  25.             <td class="pe-3">{{ Class.price02|price }}</td>
  26.         </tr>
  27.     {% endfor %}
  28.     </tbody>
  29. </table>