Kaynağa Gözat

[Backend] Tickets : enlever filtre section #562

develop
Guillaume Bourgeois 1 yıl önce
ebeveyn
işleme
15f9bb2295
2 değiştirilmiş dosya ile 1 ekleme ve 3 silme
  1. +0
    -2
      Controller/Ticket/TicketAdminController.php
  2. +1
    -1
      Model/Ticket/TicketModel.php

+ 0
- 2
Controller/Ticket/TicketAdminController.php Dosyayı Görüntüle

{ {
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 Dosyayı Görüntüle

/** /**
* @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';

Yükleniyor…
İptal
Kaydet