Quellcode durchsuchen

Import utilisateurs

feature/export_comptable
Fab vor 4 Jahren
Ursprung
Commit
d1f81ef47d
2 geänderte Dateien mit 5 neuen und 1 gelöschten Zeilen
  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 Datei anzeigen

@@ -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 Datei anzeigen

@@ -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 ;
}

}
}

Laden…
Abbrechen
Speichern