Browse Source

Merge branch 'dev'

prodstable
Guillaume 2 years ago
parent
commit
b93d493753
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      producer/views/order/order.php

+ 1
- 1
producer/views/order/order.php View File

@@ -375,7 +375,7 @@ $producer = GlobalParam::getCurrentProducer() ;
<textarea id="order-comment" v-model="comment" class="form-control"></textarea>
</div>

<template v-if="!checkCreditLimit(order) && pointSaleActive.credit_functioning == 'mandatory'">
<template v-if="producer.credit == 1 && !checkCreditLimit(order) && pointSaleActive.credit_functioning == 'mandatory'">
<div class="alert alert-danger">Vous devez <a href="<?= Yii::$app->urlManager->createUrl(['credit/add']) ?>">recharger votre crédit</a> ou supprimer des produits. Votre producteur n'autorise pas un crédit inférieur à <strong>{{ formatPrice(producer.credit_limit) }}</strong>.</div>

<div class="block-actions">

Loading…
Cancel
Save