Sfoglia il codice sorgente

Correctif form productFamily

feature/export_comptable
Fab 4 anni fa
parent
commit
b80822979f
2 ha cambiato i file con 6 aggiunte e 4 eliminazioni
  1. +1
    -0
      ShopBundle/Resources/views/backend/default/list-fields/field_price.html.twig
  2. +5
    -4
      ShopBundle/Resources/views/backend/productfamily/panel_products.html.twig

+ 1
- 0
ShopBundle/Resources/views/backend/default/list-fields/field_price.html.twig Vedi File

@@ -0,0 +1 @@
{{ priceUtils.getPriceWithTax(item) }}

+ 5
- 4
ShopBundle/Resources/views/backend/productfamily/panel_products.html.twig Vedi File

@@ -51,8 +51,9 @@
{{ macros.productField(2, product.price, 'price', false, '€', 'v-show="productFamily.behaviorPrice == \'by-piece\'"') }}
{{ macros.productField(2, product.priceWithTax, 'priceWithTax', false, '€', 'v-show="productFamily.behaviorPrice == \'by-piece\'"') }}

{{ macros.productField(2, product.availableQuantity, 'availableQuantity',false, '', 'v-show="productFamily.behaviorCountStock== \'by-product\'"') }}
{{ macros.productField(2, product.availableQuantityDefault, 'availableQuantityDefault',false, '', 'v-show="productFamily.behaviorCountStock== \'by-product\'"') }}
{{ macros.productField(1, product.availableQuantity, 'availableQuantity',false, '', 'v-show="productFamily.behaviorCountStock== \'by-product\'"') }}
{{ macros.productField(1, product.availableQuantityDefault, 'availableQuantityDefault',false, '', 'v-show="productFamily.behaviorCountStock== \'by-product\'"') }}

{{ macros.productField(2, product.propertyExpirationDate, 'propertyExpirationDate','propertyExpirationDateValue', '', 'v-show="productFamily.behaviorExpirationDate== \'by-product\'"') }}

<td>
@@ -117,10 +118,10 @@
</th>

<th v-show="behaviorCountStock== 'by-product'">
Stock
</th>
<th v-show="behaviorCountStock== 'by-product'">
Stock par défaut
</th>
<th colspan="2" class="" v-show="behaviorExpirationDate== 'by-product'">
<span style="text-transform: uppercase"> ${typeExpirationDate}</span>

Loading…
Annulla
Salva