Browse Source

[Backend] Tickets : enlever filtre section #562

develop
Guillaume Bourgeois 2 years ago
parent
commit
15f9bb2295
2 changed files with 1 additions and 3 deletions
  1. +0
    -2
      Controller/Ticket/TicketAdminController.php
  2. +1
    -1
      Model/Ticket/TicketModel.php

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

{ {
return $this->getTicketContainer() return $this->getTicketContainer()
->getFactory() ->getFactory()
->setSection($this->getSectionCurrent())
->setMerchant($this->getMerchantCurrent()) ->setMerchant($this->getMerchantCurrent())
->create(); ->create();
} }
{ {
return $this->getTicketContainer()->getFieldDefinition() return $this->getTicketContainer()->getFieldDefinition()
->setMerchant($this->getMerchantCurrent()) ->setMerchant($this->getMerchantCurrent())
->setSection($this->getSectionCurrent())
->getFields($pageName); ->getFields($pageName);
} }



+ 1
- 1
Model/Ticket/TicketModel.php View File

/** /**
* @ORM\MappedSuperclass() * @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_UNAVAILABLE = 'product-unavailable';
const TYPE_PRODUCT_ERROR = 'product-error'; const TYPE_PRODUCT_ERROR = 'product-error';

Loading…
Cancel
Save