Loading module/Oscar/src/Oscar/Controller/ProjectGrantController.php +1 −16 Original line number Diff line number Diff line Loading @@ -1292,22 +1292,7 @@ class ProjectGrantController extends AbstractOscarController implements UseNotif $id = $this->params()->fromRoute('id'); $ui = $this->params()->fromQuery('ui'); if( $ui || !$this->isAjax() ){ $view = new ViewModel([ 'composant' => 'activitydocument', 'props' => [ 'url' => $_SERVER['REQUEST_URI'], 'documentTypes' => $this->getActivityService()->getTypesDocuments(), 'urlDocumentType' => $this->url()->fromRoute('contractdocument/document-change-type') ] ]); $view->setTemplate('oscar/generic-vue-debug'); return $view; } //return $this->getResponseInternalError("A ERROR TEST"); /** @var Activity $entity */ Loading Loading
module/Oscar/src/Oscar/Controller/ProjectGrantController.php +1 −16 Original line number Diff line number Diff line Loading @@ -1292,22 +1292,7 @@ class ProjectGrantController extends AbstractOscarController implements UseNotif $id = $this->params()->fromRoute('id'); $ui = $this->params()->fromQuery('ui'); if( $ui || !$this->isAjax() ){ $view = new ViewModel([ 'composant' => 'activitydocument', 'props' => [ 'url' => $_SERVER['REQUEST_URI'], 'documentTypes' => $this->getActivityService()->getTypesDocuments(), 'urlDocumentType' => $this->url()->fromRoute('contractdocument/document-change-type') ] ]); $view->setTemplate('oscar/generic-vue-debug'); return $view; } //return $this->getResponseInternalError("A ERROR TEST"); /** @var Activity $entity */ Loading