Skip to content
Snippets Groups Projects
Commit 6c3e88e4 authored by Regis Houssin's avatar Regis Houssin
Browse files

Fix: missing field change name

parent a03b216c
No related branches found
No related tags found
No related merge requests found
...@@ -301,7 +301,7 @@ print '</td><td width="70%" valign="top" class="notopnoleftnoright">'; ...@@ -301,7 +301,7 @@ print '</td><td width="70%" valign="top" class="notopnoleftnoright">';
$max=5; $max=5;
$sql = "SELECT c.rowid, c.ref, c.fk_statut, s.nom, s.rowid as socid,"; $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.= " FROM ".MAIN_DB_PREFIX."commande_fournisseur as c";
$sql.= ", ".MAIN_DB_PREFIX."societe as s"; $sql.= ", ".MAIN_DB_PREFIX."societe as s";
if (!$user->rights->societe->client->voir && !$socid) $sql.= ", ".MAIN_DB_PREFIX."societe_commerciaux as sc"; if (!$user->rights->societe->client->voir && !$socid) $sql.= ", ".MAIN_DB_PREFIX."societe_commerciaux as sc";
...@@ -355,7 +355,7 @@ if ($resql) ...@@ -355,7 +355,7 @@ if ($resql)
print '</td>'; 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><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 '<td align="right">'.$commandestatic->LibStatut($obj->fk_statut,5).'</td>';
print '</tr>'; print '</tr>';
$i++; $i++;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment