Skip to content
Snippets Groups Projects
Commit 889483f3 authored by Rodolphe Quiedeville's avatar Rodolphe Quiedeville
Browse files

Modif structure des prelevements

parent 8cc88bd3
Branches
Tags
No related merge requests found
......@@ -49,7 +49,8 @@ print '<tr><td valign="top" width="30%">';
*
*/
$sql = "SELECT p.rowid, p.ref, p.amount,".$db->pdate("p.datec")." as datec";
$sql .= " FROM ".MAIN_DB_PREFIX."prelevement as p";
$sql .= " ,p.statut ";
$sql .= " FROM ".MAIN_DB_PREFIX."prelevement_bons as p";
$sql .= " ORDER BY datec DESC LIMIT 5";
$result = $db->query($sql);
......@@ -72,6 +73,8 @@ if ($result)
print "<tr $bc[$var]><td>";
print '<img border="0" src="./statut'.$obj->statut.'.png"></a>&nbsp;';
print '<a href="fiche.php?id='.$obj->rowid.'">'.$obj->ref."</a></td>\n";
print '<td>'.strftime("%d/%m/%Y %H:%M",$obj->datec)."</td>\n";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment