Remise en forme et correction lien vers la fiche société
This commit is contained in:
parent
ccb4daceb4
commit
fa2dd59f07
@ -43,7 +43,7 @@ $societe = new Societe($db);
|
|||||||
|
|
||||||
if ( $societe->fetch($socid) )
|
if ( $societe->fetch($socid) )
|
||||||
{
|
{
|
||||||
$head[0][0] = 'soc.php?socid='.$societe->id;
|
$head[0][0] = DOL_URL_ROOT.'/soc.php?socid='.$societe->id;
|
||||||
$head[0][1] = "Fiche société";
|
$head[0][1] = "Fiche société";
|
||||||
$h = 1;
|
$h = 1;
|
||||||
|
|
||||||
@ -58,7 +58,7 @@ if ( $societe->fetch($socid) )
|
|||||||
|
|
||||||
dolibarr_fiche_head($head, $a);
|
dolibarr_fiche_head($head, $a);
|
||||||
|
|
||||||
print_titre("Fiche fournisseur : $societe->nom");
|
print_titre($societe->nom);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
@ -70,8 +70,8 @@ if ( $societe->fetch($socid) )
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
print '<table class="border" cellpadding="3" cellspacing="0" width="100%">';
|
print '<table class="border" cellpadding="3" cellspacing="0" width="100%">';
|
||||||
print '<tr><td>Tél</td><td>'.$societe->tel.' </td><td>fax</td><td>'.$societe->fax.' </td></tr>';
|
print '<tr><td>Tél</td><td>'.dolibarr_print_phone($societe->tel).' </td><td>fax</td><td>'.dolibarr_print_phone($societe->fax).' </td></tr>';
|
||||||
print '<tr><td>Adresse</td><td colspan="3">'.nl2br($societe->address).'<br>'.$societe->cp.' '.$societe->ville.'</td></tr>';
|
print '<tr><td valign="top">Adresse</td><td colspan="3">'.nl2br($societe->adresse).'<br>'.$societe->cp.' '.$societe->ville.'</td></tr>';
|
||||||
|
|
||||||
print '</table>';
|
print '</table>';
|
||||||
/*
|
/*
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user