瀏覽代碼

[Backend] Tickets : enlever filtre section #562

develop
Guillaume Bourgeois 2 年之前
父節點
當前提交
15f9bb2295
共有 2 個文件被更改,包括 1 次插入3 次删除
  1. +0
    -2
      Controller/Ticket/TicketAdminController.php
  2. +1
    -1
      Model/Ticket/TicketModel.php

+ 0
- 2
Controller/Ticket/TicketAdminController.php 查看文件

@@ -16,7 +16,6 @@ abstract class TicketAdminController extends SovTicketAdminController
{
return $this->getTicketContainer()
->getFactory()
->setSection($this->getSectionCurrent())
->setMerchant($this->getMerchantCurrent())
->create();
}
@@ -25,7 +24,6 @@ abstract class TicketAdminController extends SovTicketAdminController
{
return $this->getTicketContainer()->getFieldDefinition()
->setMerchant($this->getMerchantCurrent())
->setSection($this->getSectionCurrent())
->getFields($pageName);
}


+ 1
- 1
Model/Ticket/TicketModel.php 查看文件

@@ -13,7 +13,7 @@ use Lc\SovBundle\Model\Ticket\TicketModel as SovTicketModel;
/**
* @ORM\MappedSuperclass()
*/
abstract class TicketModel extends SovTicketModel implements FilterSectionInterface, FilterMerchantInterface
abstract class TicketModel extends SovTicketModel implements FilterMerchantInterface
{
const TYPE_PRODUCT_UNAVAILABLE = 'product-unavailable';
const TYPE_PRODUCT_ERROR = 'product-error';

Loading…
取消
儲存