|
|
@@ -497,7 +497,7 @@ $this->setTitle('Commander'); |
|
|
|
</label> |
|
|
|
</div> |
|
|
|
<div class="col-md-4" v-if="isPaymentMethodCreditActive()"> |
|
|
|
<template v-if="user && (pointSaleActive.credit_functioning == 'mandatory' || (pointSaleActive.credit_functioning == 'user' && user.credit_active)) && !checkCreditLimit(order) "> |
|
|
|
<template v-if="errorCreditMandatoryAndLimit()"> |
|
|
|
<div class="alert alert-danger"> |
|
|
|
<i class="bi bi-piggy-bank"></i> |
|
|
|
Vous devez |
|
|
@@ -608,7 +608,7 @@ $this->setTitle('Commander'); |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="block-actions"> |
|
|
|
<button class="btn btn-primary" disabled="disabled" v-if="disableConfirmButton || !oneProductOrdered()"> |
|
|
|
<button class="btn btn-primary" disabled="disabled" v-if="disableConfirmButton || errorCreditMandatoryAndLimit() || !oneProductOrdered()"> |
|
|
|
<span v-if="disableConfirmButton" class="spinner-border spinner-border-sm" role="status" aria-hidden="true"></span> |
|
|
|
Je confirme ma commande |
|
|
|
</button> |