This commit is contained in:
Michael RICOIS 2012-01-30 10:13:19 +00:00
parent 3f1af2f7c5
commit 5cf121b4ab

View File

@ -312,7 +312,7 @@ if (($handle = fopen($inFile, 'r')) !== FALSE) {
$profilEntete = json_decode($profil->criteres, true);
$tabExtract = array_merge($tabExtract, $profilEntete);
print_r($tabExtract); exit;
print_r($tabExtract) ; exit;
$nbIdentifiant = count($tabIdentifiant);
//echo "Chargement de $row lignes dont $nbIdentifiant lignes avec identifiants.\n";
@ -379,8 +379,10 @@ if (count($tabEntete)>0){
$commandesM->update(array('dateStart'=>date('Y-m-d H:i:s')), "id = ".$commande->id);
foreach($tabIdentifiant as $item)
{
$commandesM->update(array('nbLigne'=>$row), "id = ".$commande->id);
$commandesM->update(array('nbLigneT'=>$row), "id = ".$commande->id);
echo "Ligne $row\n";
$siretValide = false;
$sirenValide = false;