瀏覽代碼

[Espace producteur] Commande : correctif dépassement du crédit limite en mode basé sur l'utilisateur #1188

feature/souke
Guillaume Bourgeois 1 年之前
父節點
當前提交
6f239973f3
共有 1 個檔案被更改,包括 3 行新增2 行删除
  1. +3
    -2
      producer/views/order/order.php

+ 3
- 2
producer/views/order/order.php 查看文件

@@ -340,7 +340,8 @@ $this->setTitle('Commander');
{{ product.description }}
</div>
<div class="description-long" v-if="product.recipe.length">
<a href="javascript:void(0);" class="show-more-link">En savoir plus</a>
<a href="javascript:void(0);" class="show-more-link">En savoir
plus</a>
<div class="content">
{{ product.recipe }}
</div>
@@ -454,7 +455,7 @@ $this->setTitle('Commander');
</div>

<template
v-if="producer.credit == 1 && pointSaleActive.credit == 1 && pointSaleActive.credit_functioning == 'mandatory' && !checkCreditLimit(order) ">
v-if="producer.credit == 1 && pointSaleActive.credit == 1 && (pointSaleActive.credit_functioning == 'mandatory' || (pointSaleActive.credit_functioning == 'user' && user.credit_active)) && !checkCreditLimit(order) ">
<div class="alert alert-danger">
Vous devez
<template v-if="producer.online_payment == 1"><a

Loading…
取消
儲存