Explorar el Código

Correctif form productFamily

feature/export_comptable
Fab hace 4 años
padre
commit
b80822979f
Se han modificado 2 ficheros con 6 adiciones y 4 borrados
  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 Ver fichero

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

+ 5
- 4
ShopBundle/Resources/views/backend/productfamily/panel_products.html.twig Ver fichero

@@ -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>

Cargando…
Cancelar
Guardar