From fa3b378316ed8795074fc5838b34e136ae699db6 Mon Sep 17 00:00:00 2001 From: Michael RICOIS Date: Wed, 14 Sep 2011 09:25:51 +0000 Subject: [PATCH] Correction appel page pour impression --- application/controllers/PrintController.php | 5 +++++ library/Scores/PagePrint.php | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/application/controllers/PrintController.php b/application/controllers/PrintController.php index 08e6768bb..0b7783c91 100644 --- a/application/controllers/PrintController.php +++ b/application/controllers/PrintController.php @@ -40,6 +40,11 @@ class PrintController extends Zend_Controller_Action case 'juridique': switch($action){ case 'annonces': + $params['siret'] = $elements[2]; + $params['id'] = $elements[3]; + $params['idAnn'] = $elements[4]; + $params['vue'] = $elements[5]; + break; case 'infosreg': case 'conventions': $params['siret'] = $elements[2]; diff --git a/library/Scores/PagePrint.php b/library/Scores/PagePrint.php index 3191a16b6..1c2f7b62e 100644 --- a/library/Scores/PagePrint.php +++ b/library/Scores/PagePrint.php @@ -18,7 +18,7 @@ class PagePrint 'finance-liasse' => 'siret,id,unit,date', 'finance-bourse' => 'siret,id', 'finance-banque' => 'siret,id', - 'juridique-annonces' => 'siret,id', + 'juridique-annonces' => 'siret,id,idAnn,vue', 'juridique-infosreg' => 'siret,id', 'juridique-competences' => 'siret,id,type', 'juridique-marques' => 'siret,id,idObject', @@ -47,7 +47,7 @@ class PagePrint 'finance-liasse' => 'siret,id,unit,date', 'finance-bourse' => 'siret,id', 'finance-banque' => 'siret,id', - 'juridique-annonces' => 'siret,id', + 'juridique-annonces' => 'siret,id,idAnn,vue', 'juridique-infosreg' => 'siret,id', 'juridique-competences' => 'siret,id,type', 'juridique-marques' => 'siret,id,idObject', @@ -76,7 +76,7 @@ class PagePrint 'finance-liasse' => 'siret,id,unit,date', 'finance-bourse' => 'siret,id', 'finance-banque' => 'siret,id', - 'juridique-annonces' => 'siret,id', + 'juridique-annonces' => 'siret,id,idAnn,vue', 'juridique-infosreg' => 'siret,id', 'juridique-competences' => 'siret,id,type', 'juridique-marques' => 'siret,id,idObject',