Correction base de données
This commit is contained in:
parent
b703307f7c
commit
4c2db4ef20
@ -240,11 +240,11 @@ class DashboardController extends Zend_Controller_Action
|
||||
array('id', 'reference', 'fichier', 'nbLigneTotales', 'nbLigneTraites', 'error', 'dateAdded', 'dateStart', 'dateStop')
|
||||
)
|
||||
->join(
|
||||
array('c' => 'comptages'), 'i.idComptage = c.id',
|
||||
array('c' => 'ciblage_comptages'), 'i.idComptage = c.id',
|
||||
array('')
|
||||
)
|
||||
->join(
|
||||
array('criteres' => 'criteres'), 'i.idCriteres = criteres.id',
|
||||
array('criteres' => 'ciblage_criteres'), 'i.idCriteres = criteres.id',
|
||||
array('')
|
||||
);
|
||||
$sql->where('i.dateStop = ?', 0)
|
||||
@ -262,11 +262,11 @@ class DashboardController extends Zend_Controller_Action
|
||||
array('id', 'reference', 'fichier', 'nbLigneTotales', 'nbLigneTraites', 'error', 'dateAdded', 'dateStart', 'dateStop')
|
||||
)
|
||||
->join(
|
||||
array('c' => 'comptages'), 'i.idComptage = c.id',
|
||||
array('c' => 'ciblage_comptages'), 'i.idComptage = c.id',
|
||||
array('')
|
||||
)
|
||||
->join(
|
||||
array('criteres' => 'criteres'), 'i.idCriteres = criteres.id',
|
||||
array('criteres' => 'ciblage_criteres'), 'i.idCriteres = criteres.id',
|
||||
array('')
|
||||
);
|
||||
$sql->where('criteres.idClient = ?', $user->idClient)
|
||||
@ -331,7 +331,7 @@ class DashboardController extends Zend_Controller_Action
|
||||
}
|
||||
$profil = new stdClass();
|
||||
$profil->labels = $profilLabels;
|
||||
$profil->tarif = $result['tarifLigne'];
|
||||
//$profil->tarif = $result['priceLine'];
|
||||
$profil->reference = $result['reference'];
|
||||
$this->view->assign('profil', $profil);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user