From 5c432157ce56669074aeda45790946f1d798da7a Mon Sep 17 00:00:00 2001 From: Michael RICOIS Date: Thu, 5 Jan 2017 16:40:56 +0100 Subject: [PATCH] Rattrapage identite --- .../legal/controllers/IdentiteController.php | 39 ++++++++++--------- .../default/scripts/identite/fiche.phtml | 1 + 2 files changed, 21 insertions(+), 19 deletions(-) diff --git a/application/modules/legal/controllers/IdentiteController.php b/application/modules/legal/controllers/IdentiteController.php index 5f083e422..532d2580f 100644 --- a/application/modules/legal/controllers/IdentiteController.php +++ b/application/modules/legal/controllers/IdentiteController.php @@ -72,11 +72,10 @@ class Legal_IdentiteController extends Zend_Controller_Action $user = new Scores_Utilisateur(); $this->view->InputLinks = array(); - //autorisation print + //Autorisation print $this->view->Printable = true; - $this->view-> PrintHtml = true; - $this->view-> PrintPdf = true; - + $this->view->PrintHtml = true; + $this->view->PrintPdf = true; $autrePage = $this->getRequest()->getParam('apage'); @@ -162,6 +161,7 @@ class Legal_IdentiteController extends Zend_Controller_Action 'Isin', 'Capitalisation', 'NumRC', + 'NumRM', 'AutreId', 'Actif', 'SituationJuridique', @@ -185,6 +185,7 @@ class Legal_IdentiteController extends Zend_Controller_Action 'Groupe', 'ActiviteEn', 'ActiviteEt', + 'ActiviteArtisanale', 'Naf4', 'Nace', 'NatureActivite', @@ -242,10 +243,10 @@ class Legal_IdentiteController extends Zend_Controller_Action $this->forward('perms', 'error'); } - //autorise l'impression + //Autorise l'impression $this->view->Printable = true; - $this->view-> PrintHtml = true; - $this->view-> PrintPdf = true; + $this->view->PrintHtml = true; + $this->view->PrintPdf = true; $siren = substr($this->siret,0,9); //Modification du titre @@ -365,10 +366,10 @@ class Legal_IdentiteController extends Zend_Controller_Action { $request = $this->getRequest(); - //autorise l'impression + //Autorise l'impression $this->view->Printable = true; - $this->view-> PrintHtml = true; - $this->view-> PrintPdf = true; + $this->view->PrintHtml = true; + $this->view->PrintPdf = true; $siren = substr($this->siret,0,9); $actif = $request->getParam('actif', -1); @@ -681,10 +682,10 @@ class Legal_IdentiteController extends Zend_Controller_Action $autrePage = $this->getRequest()->getParam('apage'); $lienRef = $request->getParam('lienref', null); - //autorisation print + //Autorisation print $this->view->Printable = true; - $this->view-> PrintHtml = true; - $this->view-> PrintPdf = true; + $this->view->PrintHtml = true; + $this->view->PrintPdf = true; $nbMonthForRecentLien = 3; @@ -1218,10 +1219,10 @@ class Legal_IdentiteController extends Zend_Controller_Action $this->view->headTitle()->prepend('Evènements - Siren '.$siren); - //autorisation print + //Autorisation print $this->view->Printable = true; - $this->view-> PrintHtml = true; - $this->view-> PrintPdf = true; + $this->view->PrintHtml = true; + $this->view->PrintPdf = true; //Pagination $page = $request->getParam('page', 1); @@ -1725,10 +1726,10 @@ class Legal_IdentiteController extends Zend_Controller_Action $this->view->headTitle()->prepend("Groupe"); $this->view->headTitle()->prepend("Siret ".$this->siret); - //autorisation print + //Autorisation print $this->view->Printable = true; - $this->view-> PrintHtml = true; - $this->view-> PrintPdf = true; + $this->view->PrintHtml = true; + $this->view->PrintPdf = true; $siren = substr($this->siret,0,9); diff --git a/application/modules/legal/views/default/scripts/identite/fiche.phtml b/application/modules/legal/views/default/scripts/identite/fiche.phtml index 529aedd4b..f63df3070 100644 --- a/application/modules/legal/views/default/scripts/identite/fiche.phtml +++ b/application/modules/legal/views/default/scripts/identite/fiche.phtml @@ -75,6 +75,7 @@ echo $this->partial('identite/fiche-item.phtml', $this->dBlock['Mail']); partial('identite/fiche-item.phtml', $this->dBlock['ActiviteEn']); echo $this->partial('identite/fiche-item.phtml', $this->dBlock['ActiviteEt']); +echo $this->partial('identite/fiche-item.phtml', $this->dBlock['ActiviteArtisanale']); echo $this->partial('identite/fiche-item.phtml', $this->dBlock['Naf4']); echo $this->partial('identite/fiche-item.phtml', $this->dBlock['Nace']); echo $this->partial('identite/fiche-item.phtml', $this->dBlock['NatureActivite']);