Explorar el Código

Import utilisateurs

feature/export_comptable
Fab hace 4 años
padre
commit
d1f81ef47d
Se han modificado 2 ficheros con 5 adiciones y 1 borrados
  1. +2
    -0
      ShopBundle/Resources/public/js/backend/script/productfamily/vuejs-product-family.js
  2. +3
    -1
      ShopBundle/Services/MerchantUtils.php

+ 2
- 0
ShopBundle/Resources/public/js/backend/script/productfamily/vuejs-product-family.js Ver fichero

@@ -166,6 +166,7 @@ $(window).on('load', function () {
{
title: null,
position: 0,
status:1,
fieldToUpdate: ['title', 'unit', 'quantity', 'price'],
price: null,
priceWithTax: null,
@@ -205,6 +206,7 @@ $(window).on('load', function () {
this.title = toPlainText(this.title);

this.$nextTick(function () {

log(this.status);
if (this.status == 0) {
$(this.$el).addClass('disabled');

+ 3
- 1
ShopBundle/Services/MerchantUtils.php Ver fichero

@@ -44,6 +44,8 @@ class MerchantUtils

if(isset($params['credit_active'])) {
$userMerchant->setCreditActive($params['credit_active']) ;
}else{
$userMerchant->setCreditActive(false);
}

if(isset($params['credit'])) {
@@ -59,4 +61,4 @@ class MerchantUtils
return $userMerchant ;
}

}
}

Cargando…
Cancelar
Guardar