issue #0001737: log credit-data requests with setLog
This commit is contained in:
parent
62745ffc40
commit
c38f9db729
@ -5,6 +5,7 @@
|
|||||||
*/
|
*/
|
||||||
require_once 'Vendors/ChartDirector/phpchartdir.php';
|
require_once 'Vendors/ChartDirector/phpchartdir.php';
|
||||||
require_once ('Giant/WSgiant.php');
|
require_once ('Giant/WSgiant.php');
|
||||||
|
require_once ('Scores/WsScores.php');
|
||||||
require_once ('Scores/Cache.php');
|
require_once ('Scores/Cache.php');
|
||||||
require_once ('Partials.php');
|
require_once ('Partials.php');
|
||||||
|
|
||||||
@ -35,7 +36,8 @@ Class GiantControllerLib
|
|||||||
$Commande = new Commandes();
|
$Commande = new Commandes();
|
||||||
$Rapport = new Rapports($Pays, $TestIndication);
|
$Rapport = new Rapports($Pays, $TestIndication);
|
||||||
$CommandeP = new stdClass();
|
$CommandeP = new stdClass();
|
||||||
|
$setLog = new WsScores();
|
||||||
|
|
||||||
switch ($Utilisateur->getIdClient()) {
|
switch ($Utilisateur->getIdClient()) {
|
||||||
case '0':
|
case '0':
|
||||||
$price = $this->configVal->price->test;
|
$price = $this->configVal->price->test;
|
||||||
@ -59,7 +61,9 @@ Class GiantControllerLib
|
|||||||
$Language);
|
$Language);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
//setLog in WS
|
||||||
|
$setLog->setLog('giant'.$Type, $CompanyId);
|
||||||
|
//////////////
|
||||||
$report_id = $Rapport->getRapportExistId($CompanyId, $Language);
|
$report_id = $Rapport->getRapportExistId($CompanyId, $Language);
|
||||||
if (!empty($report_id)) {
|
if (!empty($report_id)) {
|
||||||
$CommandeP->login = $Utilisateur->getLogin();
|
$CommandeP->login = $Utilisateur->getLogin();
|
||||||
|
Loading…
Reference in New Issue
Block a user