Change amount config

This commit is contained in:
Michael RICOIS 2013-11-15 09:08:53 +00:00
parent 30f488204b
commit 67a01a01f8

View File

@ -159,11 +159,10 @@ class ReportController extends Zend_Controller_Action
$this->view->AdresseL2 = $session->CmdAdresseL2;
}
$c = Zend_Registry::get('config');
$this->view->montant = $c->profil->report->montant . " €";
if ( !isset($session->CmdID) || empty($session->CmdID) ) {
$c = Zend_Registry::get('config');
$this->view->montant = $c->profil->report->montant . " €";
//Get the report
if (intval($siren)>100) {
$login = $c->profil->report->username;
@ -172,7 +171,6 @@ class ReportController extends Zend_Controller_Action
$html = $report->getContent();
if ( $html !== false ) {
$c = Zend_Registry::get('config');
$pathCmd = $c->profil->path->data;
$id = uniqid();