Ajout d'une ligne d'en-tete
This commit is contained in:
parent
55adfc6fb1
commit
354d606acc
@ -150,6 +150,10 @@ class CommandeMethodeText
|
|||||||
|
|
||||||
if ($fp)
|
if ($fp)
|
||||||
{
|
{
|
||||||
|
fwrite ($fp, "Numcli;");
|
||||||
|
fwrite ($fp, "nomclient;");
|
||||||
|
fwrite ($fp, "NDI\n");
|
||||||
|
|
||||||
$ligneids = array();
|
$ligneids = array();
|
||||||
|
|
||||||
$sqlall = "SELECT s.nom, s.idp as socid, l.ligne, l.statut, l.rowid";
|
$sqlall = "SELECT s.nom, s.idp as socid, l.ligne, l.statut, l.rowid";
|
||||||
@ -167,14 +171,13 @@ class CommandeMethodeText
|
|||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
$sql = $sqlall;
|
$sql = $sqlall;
|
||||||
|
|
||||||
$sql .= " AND l.statut in (1,4)";
|
$sql .= " AND l.statut in (1,4)";
|
||||||
$sql .= " ORDER BY l.statut ASC";
|
$sql .= " ORDER BY l.statut ASC";
|
||||||
|
|
||||||
$result = $this->db->query($sql);
|
$result = $this->db->query($sql);
|
||||||
|
|
||||||
if ($result)
|
if ($result)
|
||||||
{
|
{
|
||||||
$i = 0;
|
$i = 0;
|
||||||
@ -229,7 +232,6 @@ class CommandeMethodeText
|
|||||||
$lint->set_statut($this->user, 5);
|
$lint->set_statut($this->user, 5);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user