浏览代码

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

feature/export_comptable
Guillaume 4 年前
父节点
当前提交
2da46e8351
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      ShopBundle/Resources/views/backend/order/macros.html.twig

+ 2
- 2
ShopBundle/Resources/views/backend/order/macros.html.twig 查看文件

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

正在加载...
取消
保存