Browse Source

Correctif form productFamily

feature/export_comptable
Fab 4 years ago
parent
commit
b80822979f
2 changed files with 6 additions and 4 deletions
  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 View File

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

+ 5
- 4
ShopBundle/Resources/views/backend/productfamily/panel_products.html.twig View 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…
Cancel
Save