Ajout enrichissements et référence
This commit is contained in:
parent
2590f8d1ab
commit
eb08f6dcdc
@ -149,9 +149,9 @@ class DashboardController extends Zend_Controller_Action
|
||||
->where('id = ?', $comptageId);
|
||||
$criteres = $criteresM->fetchRow($sql)->toArray();
|
||||
|
||||
|
||||
$infosCriteres = array();
|
||||
if ($criteres != null) {
|
||||
$comptageRef = $criteres['reference'];
|
||||
|
||||
$decodeCriteres = json_decode($criteres['criteres'], true);
|
||||
|
||||
@ -175,16 +175,20 @@ class DashboardController extends Zend_Controller_Action
|
||||
->where('idDefinition = ?', $comptageId)
|
||||
->order('dateAjout DESC');
|
||||
$comptages = $comptageM->fetchAll($sql)->toArray();
|
||||
Zend_Registry::get('firebug')->info($comptages[0]);
|
||||
|
||||
//Lecture enrichissement existe
|
||||
$enrichissementsM = new Application_Model_EnrichissementIdentifiants();
|
||||
$sql = $enrichissementsM->select()
|
||||
->where('idCriteres = ?', $comptageId);
|
||||
|
||||
$enrichissements = $enrichissementsM->fetchAll($sql);
|
||||
|
||||
//Affichage
|
||||
$this->view->comptageId = $comptageId;
|
||||
$this->view->comptageRef = $comptageRef;
|
||||
$this->view->criteres = $infosCriteres;
|
||||
$this->view->comptages = $comptages;
|
||||
$this->view->enrichissements = $enrichissement;
|
||||
|
||||
$this->view->enrichissements = $enrichissements;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -48,9 +48,9 @@
|
||||
<div style="text-align:center; border:1px solid #ffffff; background-color:#182838; padding:5px;">
|
||||
<a style="color:white; text-decoration:none;" href="/comptage/reset">Initialiser les critères</a>
|
||||
</div>
|
||||
<div style="text-align:center; border:1px solid #ffffff; background-color:#182838; padding:5px;">
|
||||
<a style="color:white; text-decoration:none;" class="saveciblage" href="/comptage/savedialog">Sauvegarder</a>
|
||||
</div>
|
||||
<div style="text-align:center; border:1px solid #ffffff; background-color:#182838; padding:5px;">
|
||||
<a style="color:white; text-decoration:none;" class="previsualisation" href="/comptage/previsualisation">Prévisualisation</a>
|
||||
</div>
|
||||
<div style="text-align:center; border:1px solid #ffffff; background-color:#182838; padding:5px;">
|
||||
<a style="color:white; text-decoration:none;" class="saveciblage" href="/comptage/savedialog">Extraire</a>
|
||||
</div>
|
@ -17,7 +17,7 @@
|
||||
|
||||
#dashboard fieldset {
|
||||
border:1px solid black;
|
||||
padding:20px;
|
||||
padding: 10px 20px;
|
||||
}
|
||||
|
||||
#dashboard table {
|
||||
|
Loading…
Reference in New Issue
Block a user