瀏覽代碼

Ajout des réduction dans productFamilyForm

feature/export_comptable
Fab 4 年之前
父節點
當前提交
6cf7618564
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. +2
    -2
      ShopBundle/Controller/Admin/ProductFamilyController.php

+ 2
- 2
ShopBundle/Controller/Admin/ProductFamilyController.php 查看文件

@@ -157,7 +157,7 @@ class ProductFamilyController extends AdminController
return $formBuilder;
}

public function updateEntity($entity, $editForm)
public function updateProductFamilyEntity($entity, $editForm)
{
$this->processReductionCatalog($entity, $editForm);
$this->processCategories($entity);
@@ -167,7 +167,7 @@ class ProductFamilyController extends AdminController
parent::updateEntity($entity);
}

public function persistEntity($entity, $newForm)
public function persistProductFamilyEntity($entity, $newForm)
{
$this->processReductionCatalog($entity, $newForm);
$this->processCategories($entity);

Loading…
取消
儲存