소스 검색

[Backend] Product : Ajout prix avec réduction liste produit

develop
Fabien Normand 1 년 전
부모
커밋
5dcbe130a3
1개의 변경된 파일9개의 추가작업 그리고 1개의 파일을 삭제
  1. +9
    -1
      Resources/views/admin/product/field/price_with_tax.html.twig

+ 9
- 1
Resources/views/admin/product/field/price_with_tax.html.twig 파일 보기

@@ -1 +1,9 @@
{{ price_solver.getPriceWithTax(entity.instance)|format_price|raw }}
{% set priceWithTax = price_solver.getPriceWithTax(entity.instance)|format_price %}
{% set priceWithTaxAndReduction = price_solver.getPriceWithTaxAndReduction(entity.instance)|format_price %}

{% if priceWithTax != priceWithTaxAndReduction %}
<s>{{ priceWithTax|raw }}</s><br />
{{ priceWithTaxAndReduction|raw }}
{% else %}
{{ priceWithTaxAndReduction|raw }}
{% endif %}

Loading…
취소
저장