Kaynağa Gözat

Merge branch 'develop'

master
Guillaume 2 yıl önce
ebeveyn
işleme
a3cff1aea3
1 değiştirilmiş dosya ile 1 ekleme ve 6 silme
  1. +1
    -6
      Controller/Ticket/TicketAdminController.php

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

@@ -32,12 +32,7 @@ abstract class TicketAdminController extends SovTicketAdminController
public function configureActions(Actions $actions): Actions
{
$actions = parent::configureActions($actions);

if(!$this->getSectionCurrent()) {
$actions->disable(ActionDefinition::NEW, ActionDefinition::EDIT, ActionDefinition::DUPLICATE,ActionDefinition::DUPLICATE_TO_OTHER_SECTION, ActionDefinition::DELETE);
}else{
$actions->disable( ActionDefinition::EDIT, ActionDefinition::DUPLICATE,ActionDefinition::DUPLICATE_TO_OTHER_SECTION, ActionDefinition::DELETE);
}
$actions->disable( ActionDefinition::EDIT, ActionDefinition::DUPLICATE,ActionDefinition::DUPLICATE_TO_OTHER_SECTION, ActionDefinition::DELETE);

return $actions;
}

Yükleniyor…
İptal
Kaydet