Selaa lähdekoodia

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

feature/souke
Guillaume Bourgeois 1 vuosi sitten
vanhempi
commit
6f239973f3
1 muutettua tiedostoa jossa 3 lisäystä ja 2 poistoa
  1. +3
    -2
      producer/views/order/order.php

+ 3
- 2
producer/views/order/order.php Näytä tiedosto

@@ -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…
Peruuta
Tallenna