Explorar el Código

[Backend] Commandes : affichage deliveryDate si au créneau de défini

feature/export_comptable
Guillaume hace 4 años
padre
commit
2da46e8351
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. +2
    -2
      ShopBundle/Resources/views/backend/order/macros.html.twig

+ 2
- 2
ShopBundle/Resources/views/backend/order/macros.html.twig Ver fichero

@@ -301,11 +301,11 @@
{% block label %}{{ "field.default.deliveryAvailabilty"|trans({}, 'lcshop') }}{% endblock %}
{% block value %}
<div v-if="order.deliveryType == 'home'">
<div v-html="order.deliveryAvailabilityZone">
<div v-html="order.deliveryAvailabilityZone != null ? order.deliveryAvailabilityZone : order.deliveryDate">
</div>
</div>
<div v-else-if="order.deliveryType == 'point-sale'">
<div v-html="order.deliveryAvailabilityPointSale">
<div v-html="order.deliveryAvailabilityPointSale != null ? order.deliveryAvailabilityPointSale : order.deliveryDate">
</div>
</div>
<div v-else>

Cargando…
Cancelar
Guardar