Fichier enrichit

This commit is contained in:
Michael RICOIS 2012-01-31 15:33:12 +00:00
parent 741e0704be
commit 53080e1f62
2 changed files with 8 additions and 2 deletions

View File

@ -75,7 +75,10 @@
<td><?=$file->dateAdded?></td>
<td><?=$file->dateStop?></td>
<td><?=$file->nbLigneT?></td>
<td>-</td>
<td>
<a href="<?=$this->url(array('controller'=>'index','action'=>'getfile', 'file'=>$file->fichierOut))?>">
<?=$file->fichierOut?></a>
</td>
</tr>
<?php }?>
</tbody>

View File

@ -528,7 +528,10 @@ foreach($tabIdentifiant as $item)
}
fclose($fp);
if ($opts->id) {
$commandesM->update(array('dateStop'=>date('Y-m-d H:i:s')), "id = ".$commande->id);
$commandesM->update(array(
'dateStop' => date('Y-m-d H:i:s'),
'fichierOut' => $outFile,
), "id = ".$commande->id);
}