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

{{ priceUtils.getPriceWithTax(item) }}

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

{{ macros.productField(2, product.price, 'price', false, '€', 'v-show="productFamily.behaviorPrice == \'by-piece\'"') }} {{ 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.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\'"') }} {{ macros.productField(2, product.propertyExpirationDate, 'propertyExpirationDate','propertyExpirationDateValue', '', 'v-show="productFamily.behaviorExpirationDate== \'by-product\'"') }}


<td> <td>
</th> </th>


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

Loading…
Cancel
Save