Modif structure des prelevements
This commit is contained in:
parent
8cc88bd3b7
commit
889483f304
@ -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> ';
|
||||
|
||||
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";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user