Ajout du montant HT et TTC

This commit is contained in:
Michael RICOIS 2013-11-18 09:50:43 +00:00
parent b26f2d84da
commit bb8a5ca3e2
4 changed files with 6 additions and 4 deletions

View File

@ -38,7 +38,7 @@ profil.db.sdv1.params.driver_options.MYSQLI_INIT_COMMAND = "SET NAMES utf8"
profil.report.username=mricois profil.report.username=mricois
profil.report.password=ju2loh6o profil.report.password=ju2loh6o
profil.report.montant=21.53 profil.report.montant=21.53
profil.report.montantht=18.00
[staging : production] [staging : production]
resources.frontController.params.displayExceptions = 1 resources.frontController.params.displayExceptions = 1

View File

@ -56,7 +56,7 @@ class ReportController extends Zend_Controller_Action
'siren'=>$response->Siren 'siren'=>$response->Siren
)); ));
$this->view->montant = $c->profil->report->montant . " €"; $this->view->montant = $c->profil->report->montantht." € HT" . " (".$c->profil->report->montant." € TTC)";
//Session //Session
$session->CmdSiren = $response->Siren; $session->CmdSiren = $response->Siren;
@ -162,7 +162,7 @@ class ReportController extends Zend_Controller_Action
} }
$c = Zend_Registry::get('config'); $c = Zend_Registry::get('config');
$this->view->montant = $c->profil->report->montant . " €"; $this->view->montant = $c->profil->report->montantht." € HT" . " (".$c->profil->report->montant." € TTC)";
if ( !isset($session->CmdID) || empty($session->CmdID) ) { if ( !isset($session->CmdID) || empty($session->CmdID) ) {
//Get the report //Get the report
@ -247,7 +247,7 @@ class ReportController extends Zend_Controller_Action
if ($row !== null) { if ($row !== null) {
$c = Zend_Registry::get('config'); $c = Zend_Registry::get('config');
$this->view->montant = $c->profil->report->montant . " €"; $this->view->montant = $c->profil->report->montantht." € HT" . " (".$c->profil->report->montant." € TTC)";
//Paybox //Paybox
$paybox = new Paybox_System(true); $paybox = new Paybox_System(true);

View File

@ -38,6 +38,7 @@ profil.db.sdv1.params.driver_options.MYSQLI_INIT_COMMAND = "SET NAMES utf8"
profil.report.username=partner144 profil.report.username=partner144
profil.report.password=yY2Uhp0mf5 profil.report.password=yY2Uhp0mf5
profil.report.montant=21.53 profil.report.montant=21.53
profil.report.montantht=18.00
[staging : production] [staging : production]
resources.frontController.params.displayExceptions = 1 resources.frontController.params.displayExceptions = 1

View File

@ -38,6 +38,7 @@ profil.db.sdv1.params.driver_options.MYSQLI_INIT_COMMAND = "SET NAMES utf8"
profil.report.username=partner144 profil.report.username=partner144
profil.report.password=yY2Uhp0mf5 profil.report.password=yY2Uhp0mf5
profil.report.montant=21.53 profil.report.montant=21.53
profil.report.montantht=18.00
[staging : production] [staging : production]
resources.frontController.params.displayExceptions = 1 resources.frontController.params.displayExceptions = 1