Sfoglia il codice sorgente

[Backend] Tickets : enlever filtre section #562

develop
Guillaume Bourgeois 2 anni fa
parent
commit
15f9bb2295
2 ha cambiato i file con 1 aggiunte e 3 eliminazioni
  1. +0
    -2
      Controller/Ticket/TicketAdminController.php
  2. +1
    -1
      Model/Ticket/TicketModel.php

+ 0
- 2
Controller/Ticket/TicketAdminController.php Vedi File

@@ -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 Vedi File

@@ -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…
Annulla
Salva