Browse Source

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

feature/export_comptable
Guillaume 4 years ago
parent
commit
2da46e8351
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      ShopBundle/Resources/views/backend/order/macros.html.twig

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

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

Loading…
Cancel
Save