Kaynağa Gözat

Intégration de l'option "use_credit_checked_default"

dev
Guillaume Bourgeois 5 yıl önce
ebeveyn
işleme
18dc7d0c21
2 değiştirilmiş dosya ile 2 ekleme ve 3 silme
  1. +1
    -0
      producer/controllers/OrderController.php
  2. +1
    -3
      producer/web/js/vuejs/order-order.js

+ 1
- 0
producer/controllers/OrderController.php Dosyayı Görüntüle

@@ -455,6 +455,7 @@ class OrderController extends ProducerBaseController
'order_infos' => $producer->order_infos,
'credit' => $producer->credit,
'credit_functioning' => $producer->credit_functioning,
'use_credit_checked_default' => $producer->use_credit_checked_default
] ;
// Distributions

+ 1
- 3
producer/web/js/vuejs/order-order.js Dosyayı Görüntüle

@@ -110,7 +110,7 @@ var app = new Vue({
.then(function(response) {
app.producer = response.data.producer ;
app.credit = response.data.credit ;
app.useCredit = response.data.producer.use_credit_checked_default ;
app.calendar.attrs = [] ;
app.calendar.availableDates = [] ;
var distributions = response.data.distributions ;
@@ -248,8 +248,6 @@ var app = new Vue({

validatePointSale: function(idPointSale) {
this.pointSaleActive = this.getPointSale(idPointSale) ;
this.useCredit = true ;
this.changeStep('products') ;
},
productQuantityClick: function(product, quantity) {

Yükleniyor…
İptal
Kaydet