Pārlūkot izejas kodu

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

feature/rotating_product
Guillaume Bourgeois pirms 6 mēnešiem
vecāks
revīzija
70f9c49ce8
1 mainītis faili ar 5 papildinājumiem un 4 dzēšanām
  1. +5
    -4
      producer/web/js/vuejs/order-order.js

+ 5
- 4
producer/web/js/vuejs/order-order.js Parādīt failu

@@ -605,10 +605,11 @@ var app = new Vue({
&& !this.isPaymentMethodCreditActiveFunctioningMandatory()
},
errorCreditMandatoryAndLimit: function() {
return this.user && (
this.pointSaleActive.credit_functioning == 'mandatory'
|| (this.pointSaleActive.credit_functioning == 'user' && 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() {

Notiek ielāde…
Atcelt
Saglabāt