Skip to content

Commit

Permalink
Fix: missing field change name
Browse files Browse the repository at this point in the history
  • Loading branch information
hregis committed Apr 16, 2012
1 parent a03b216 commit 6c3e88e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions htdocs/fourn/commande/index.php
Expand Up @@ -301,7 +301,7 @@
$max=5;

$sql = "SELECT c.rowid, c.ref, c.fk_statut, s.nom, s.rowid as socid,";
$sql.= " date_cloture as datec";
$sql.= " date_approve as datea";
$sql.= " FROM ".MAIN_DB_PREFIX."commande_fournisseur as c";
$sql.= ", ".MAIN_DB_PREFIX."societe as s";
if (!$user->rights->societe->client->voir && !$socid) $sql.= ", ".MAIN_DB_PREFIX."societe_commerciaux as sc";
Expand Down Expand Up @@ -355,7 +355,7 @@
print '</td>';

print '<td><a href="'.DOL_URL_ROOT.'/fourn/fiche.php?socid='.$obj->socid.'">'.img_object($langs->trans("ShowCompany"),"company").' '.$obj->nom.'</a></td>';
print '<td>'.dol_print_date($db->jdate($obj->datec)).'</td>';
print '<td>'.dol_print_date($db->jdate($obj->datea)).'</td>';
print '<td align="right">'.$commandestatic->LibStatut($obj->fk_statut,5).'</td>';
print '</tr>';
$i++;
Expand Down

0 comments on commit 6c3e88e

Please sign in to comment.