forked from Wavyzz/dolibarr
Minor fix
This commit is contained in:
@@ -149,7 +149,9 @@ if ( $db->query($sql) )
|
||||
print $orderstatic->getNomUrl(1);
|
||||
print '</td>';
|
||||
print '<td>';
|
||||
print '<a href="'.DOL_URL_ROOT.'/comm/fiche.php?socid='.$obj->socid.'">'.dol_trunc($obj->nom,20).'</a>';
|
||||
$companystatic->nom=$obj->nom;
|
||||
$companystatic->id=$obj->socid;
|
||||
print $companystatic->getNomUrl(1,'customer');
|
||||
print '</td></tr>';
|
||||
$i++;
|
||||
}
|
||||
@@ -199,7 +201,11 @@ if ( $resql )
|
||||
$orderstatic->ref=$obj->ref;
|
||||
print $orderstatic->getNomUrl(1);
|
||||
print '</td>';
|
||||
print '<td><a href="'.DOL_URL_ROOT.'/comm/fiche.php?socid='.$obj->socid.'">'.$obj->nom.'</a></td></tr>';
|
||||
print '<td>';
|
||||
$companystatic->nom=$obj->nom;
|
||||
$companystatic->id=$obj->socid;
|
||||
print $companystatic->getNomUrl(1,'customer');
|
||||
print '</td></tr>';
|
||||
$i++;
|
||||
}
|
||||
print "</table><br>";
|
||||
|
||||
@@ -641,7 +641,7 @@ function print_left_eldy_menu($db,$menu_array)
|
||||
if ($conf->expedition->enabled)
|
||||
{
|
||||
$langs->load("sendings");
|
||||
$newmenu->add(DOL_URL_ROOT."/expedition/index.php?leftmenu=sendings", $langs->trans("Sendings"), 0, $user->rights->expedition->lire);
|
||||
$newmenu->add(DOL_URL_ROOT."/expedition/index.php?leftmenu=sendings", $langs->trans("Shipments"), 0, $user->rights->expedition->lire);
|
||||
if ($leftmenu=="sendings") $newmenu->add(DOL_URL_ROOT."/expedition/liste.php?leftmenu=sendings", $langs->trans("List"), 1 ,$user->rights->expedition->lire);
|
||||
if ($leftmenu=="sendings") $newmenu->add(DOL_URL_ROOT."/expedition/stats/index.php?leftmenu=sendings", $langs->trans("Statistics"), 1 ,$user->rights->expedition->lire);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user