瀏覽代碼

Merge branch 'hotfix/hotfix_1716'

master
Guillaume Bourgeois 6 月之前
父節點
當前提交
d859b679a5
共有 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() {

Loading…
取消
儲存