Sfoglia il codice sorgente

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

feature/export_comptable
Guillaume 4 anni fa
parent
commit
2da46e8351
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. +2
    -2
      ShopBundle/Resources/views/backend/order/macros.html.twig

+ 2
- 2
ShopBundle/Resources/views/backend/order/macros.html.twig Vedi File

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

Loading…
Annulla
Salva