issue #0001743: PDF, XML and Print

This commit is contained in:
Arman KYOKCHAN 2013-10-18 05:25:24 +00:00
parent 9fd32e730e
commit 508d79b179
3 changed files with 16 additions and 7 deletions

View File

@ -142,6 +142,7 @@ class GiantController extends Zend_Controller_Action
$this->view->report = $fiche;
$this->view->Type = $this->getRequest()->getParam('Type');
$this->view->dateFunction = new WDate();
$this->view->assign('exportObjet', $creditrecommendation);
}
public function compactAction()
@ -177,6 +178,7 @@ class GiantController extends Zend_Controller_Action
$this->view->report = $fiche;
$this->view->Type = $this->getRequest()->getParam('Type');
$this->view->dateFunction = new WDate();
$this->view->assign('exportObjet', $compact);
}
public function fullAction()
@ -213,6 +215,7 @@ class GiantController extends Zend_Controller_Action
$this->view->report = $fiche;
$this->view->Type = $this->getRequest()->getParam('Type');
$this->view->dateFunction = new WDate();
$this->view->assign('exportObjet', $full);
}
public function getForm()

View File

@ -71,7 +71,10 @@ class PrintController extends Zend_Controller_Action
$params['id'] = $elements[3];
break;
case 'giant':
$params['idRapport'] = $elements[2];
$params['Pays'] = $elements[2];
$params['Type'] = $elements[3];
$params['CompanyId'] = $elements[4];
$params['Language'] = $elements[5];
break;
case 'surveillance':
switch($action){

View File

@ -30,9 +30,9 @@ class PagePrint
'evaluation-valorisation' => 'siret,id',
'pieces-bilans' => 'siret,id',
'pieces-actes' => 'siret,id',
'giant-full' => 'Pays,Type,CompanyId',
'giant-compact' => 'Pays,Type,CompanyId',
'giant-creditrecommendation' => 'Pays,Type,CompanyId',
'giant-full' => 'Pays,Type,CompanyId,Language',
'giant-compact' => 'Pays,Type,CompanyId,Language',
'giant-creditrecommendation' => 'Pays,Type,CompanyId,Language',
'surveillance-fichier' => 'nomFic,filtre',
'worldcheck-matchcontent' => 'matchIdentifier',
);
@ -63,9 +63,9 @@ class PagePrint
'evaluation-valorisation' => 'siret,id',
'pieces-bilans' => 'siret,id',
'pieces-actes' => 'siret,id',
'giant-full' => 'Pays,Type,CompanyId',
'giant-compact' => 'Pays,Type,CompanyId',
'giant-creditrecommendation' => 'Pays,Type,CompanyId',
'giant-full' => 'Pays,Type,CompanyId,Language',
'giant-compact' => 'Pays,Type,CompanyId,Language',
'giant-creditrecommendation' => 'Pays,Type,CompanyId,Language',
'worldcheck-matchcontent' => 'matchIdentifier',
);
@ -91,6 +91,9 @@ class PagePrint
'evaluation-indiscore2' => 'siret,id',
'evaluation-indiscore3' => 'siret,id',
'evaluation-valorisation' => 'siret,id',
'giant-full' => 'Pays,Type,CompanyId,Language',
'giant-compact' => 'Pays,Type,CompanyId,Language',
'giant-creditrecommendation' => 'Pays,Type,CompanyId,Language',
'worldcheck-matchcontent' => 'matchIdentifier',
);