浏览代码

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

master
Guillaume Bourgeois 6 个月前
父节点
当前提交
7ce6c3cc1f
共有 1 个文件被更改,包括 5 次插入4 次删除
  1. +5
    -4
      producer/web/js/vuejs/order-order.js

+ 5
- 4
producer/web/js/vuejs/order-order.js 查看文件

@@ -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() {

正在加载...
取消
保存