Przeglądaj źródła

[Boutique] Problème "Je confirme ma commande"

master
Guillaume Bourgeois 6 miesięcy temu
rodzic
commit
7ce6c3cc1f
1 zmienionych plików z 5 dodań i 4 usunięć
  1. +5
    -4
      producer/web/js/vuejs/order-order.js

+ 5
- 4
producer/web/js/vuejs/order-order.js Wyświetl plik

@@ -580,10 +580,11 @@ var app = new Vue({
&& !this.isPaymentMethodCreditActiveFunctioningMandatory()
},
errorCreditMandatoryAndLimit: function() {
return this.user && (
this.pointSaleActive.credit_functioning == 'mandatory'
|| (this.pointSaleActive.credit_functioning == 'user' && this.user.credit_active)
)
return this.user
&& this.pointSaleActive
&& this.pointSaleActive.payment_method_credit
&& (this.pointSaleActive.credit_functioning == 'mandatory'
|| (this.pointSaleActive.credit_functioning == 'user' && this.user.credit_active))
&& !this.checkCreditLimit(this.order);
},
confirmClick: function() {

Ładowanie…
Anuluj
Zapisz