Ajout d'une ligne d'en-tete

This commit is contained in:
Rodolphe Quiedeville 2005-02-14 09:21:34 +00:00
parent 55adfc6fb1
commit 354d606acc

View File

@ -150,6 +150,10 @@ class CommandeMethodeText
if ($fp)
{
fwrite ($fp, "Numcli;");
fwrite ($fp, "nomclient;");
fwrite ($fp, "NDI\n");
$ligneids = array();
$sqlall = "SELECT s.nom, s.idp as socid, l.ligne, l.statut, l.rowid";
@ -167,14 +171,13 @@ class CommandeMethodeText
/*
*
*/
$sql = $sqlall;
$sql .= " AND l.statut in (1,4)";
$sql .= " ORDER BY l.statut ASC";
$result = $this->db->query($sql);
if ($result)
{
$i = 0;
@ -229,7 +232,6 @@ class CommandeMethodeText
$lint->set_statut($this->user, 5);
}
}
return 0;