diff --git a/htdocs/comm/fiche.php b/htdocs/comm/fiche.php index da623a38ec0..c6248f96f92 100644 --- a/htdocs/comm/fiche.php +++ b/htdocs/comm/fiche.php @@ -152,13 +152,13 @@ if ($_GET["socid"] > 0) if ($objsoc->fournisseur) { $head[$h][0] = DOL_URL_ROOT.'/fourn/fiche.php?socid='.$objsoc->id; - $head[$h][1] = 'Fiche fournisseur'; + $head[$h][1] = 'Fournisseur'; $h++; } if ($conf->compta->enabled) { $head[$h][0] = DOL_URL_ROOT.'/compta/fiche.php?socid='.$objsoc->id; - $head[$h][1] = 'Fiche compta'; + $head[$h][1] = 'Comptabilité'; $h++; } @@ -204,7 +204,7 @@ if ($_GET["socid"] > 0) print $objsoc->nom; print ''; print "Adresse".nl2br($objsoc->adresse)."
".$objsoc->cp." ".$objsoc->ville." ".$objsoc->pays.""; - print "Téléphone $objsoc->tel Fax$objsoc->fax "; + print 'Téléphone'.dolibarr_print_phone($objsoc->tel).' Fax'.dolibarr_print_phone($objsoc->fax).' '; print "Weburl\">$objsoc->url "; print "Sirensiren\">$objsoc->siren "; diff --git a/htdocs/comm/prospect/fiche.php b/htdocs/comm/prospect/fiche.php index 7258e842b3a..384668a199e 100644 --- a/htdocs/comm/prospect/fiche.php +++ b/htdocs/comm/prospect/fiche.php @@ -71,9 +71,10 @@ if ($socid > 0) if ($result) { - $head[0][0] = DOL_URL_ROOT.'/soc.php?socid='.$societe->id; - $head[0][1] = "Fiche société"; - $h = 1; + $h=0; + $head[$h][0] = DOL_URL_ROOT.'/soc.php?socid='.$societe->id; + $head[$h][1] = "Fiche société"; + $h++; $head[$h][0] = DOL_URL_ROOT.'/comm/prospect/fiche.php?id='.$societe->id; $head[$h][1] = 'Prospect'; @@ -105,18 +106,17 @@ if ($socid > 0) $head[$h][0] = DOL_URL_ROOT.'/societe/notify/fiche.php?socid='.$societe->id; $head[$h][1] = 'Notifications'; - dolibarr_fiche_head($head, 1); + dolibarr_fiche_head($head, 1, $societe->nom); - print_titre("Fiche prospect : $societe->nom"); /* * * */ print ''; print '
'; - print ''; + print '
'; - print ""; + print ""; print '"; print ''; @@ -174,7 +174,7 @@ if ($socid > 0) $num = $db->num_rows(); if ($num >0 ) { - print ""; + print ""; $var=!$var; } $i = 0; $now = time(); $lim = 3600 * 24 * 15 ; @@ -182,7 +182,9 @@ if ($socid > 0) { $objp = $db->fetch_object( $i); print ""; - print "
Téléphone".dolibarr_print_phone($societe->tel)." fax".dolibarr_print_phone($societe->fax)." 
Téléphone".dolibarr_print_phone($societe->tel)." fax".dolibarr_print_phone($societe->fax)." 
Adresse'.nl2br($societe->address)."
$societe->cp $societe->ville
Siret'.$societe->siret.'
id\">Liste des propales ($num)
id\">Liste des propositions commerciales ($num)
propalid\">$objp->ref\n"; + print "propalid\">"; + print img_file(); + print " propalid\">$objp->ref\n"; if ( ($now - $objp->dp) > $lim && $objp->statutid == 1 ) { print " > 15 jours"; @@ -207,6 +209,7 @@ if ($socid > 0) * Barre d'action * */ + print '
'; if ($conf->propal->enabled && defined("MAIN_MODULE_PROPALE") && MAIN_MODULE_PROPALE && $user->rights->propale->creer) @@ -220,7 +223,7 @@ if ($socid > 0) } print '
'; - print '
'; + print '
'; /* * diff --git a/htdocs/commande/fiche.php b/htdocs/commande/fiche.php index 8efa7d485f7..23e199ab8e2 100644 --- a/htdocs/commande/fiche.php +++ b/htdocs/commande/fiche.php @@ -407,7 +407,7 @@ else $h = 1; $a = 0; - dolibarr_fiche_head($head, $a); + dolibarr_fiche_head($head, $a, $soc->nom); /* * Confirmation de la suppression de la commande diff --git a/htdocs/compta/fiche.php b/htdocs/compta/fiche.php index 44f218d07d7..8b7b929e26f 100644 --- a/htdocs/compta/fiche.php +++ b/htdocs/compta/fiche.php @@ -208,7 +208,7 @@ if ($socid > 0) $head[$h][1] = 'Bookmark'; $head[$h][2] = 'image'; } - dolibarr_fiche_head($head, $hselected); + dolibarr_fiche_head($head, $hselected, $objsoc->nom); /* * @@ -223,7 +223,7 @@ if ($socid > 0) print ''; print ''; print '"; - print ''; + print ''; print ""; print ''; @@ -350,8 +350,6 @@ if ($socid > 0) print "idp&action=create\">Créer Déplacement"; } - print 'Ajouter un contact'; - print ''; print "
\n"; @@ -462,16 +460,20 @@ if ($socid > 0) print "\n"; print ''; - - if ($obj->propalrowid) - { - print ''; - } - else - { - print ''; - } - + print ''; + } + else + { + print ''; + print img_file().' '; + print ''.$obj->libelle.''; + } + /* * Contact pour cette action * diff --git a/htdocs/fourn/fiche.php b/htdocs/fourn/fiche.php index 815bbbf741d..851681ffa78 100644 --- a/htdocs/fourn/fiche.php +++ b/htdocs/fourn/fiche.php @@ -69,7 +69,7 @@ if ( $societe->fetch($socid) ) { $hselected=$h; $head[$h][0] = DOL_URL_ROOT.'/fourn/fiche.php?socid='.$socid; - $head[$h][1] = 'Fiche fournisseur'; + $head[$h][1] = 'Fournisseur'; $h++; } if ($conf->produit->enabled) { @@ -78,7 +78,7 @@ if ( $societe->fetch($socid) ) $h++; } - dolibarr_fiche_head($head, $hselected); + dolibarr_fiche_head($head, $hselected, $societe->nom); /* *
Nom'.$objsoc->nom.'
Adresse'.nl2br($objsoc->adresse)."
$objsoc->cp $objsoc->ville
Tel'.$objsoc->tel.' Fax'.$objsoc->fax.' 
Tél'.$objsoc->tel.' Fax'.$objsoc->fax.' 
Weburl\">$objsoc->url 
Siren'.$objsoc->siren.' " .strftime("%H:%M",$obj->da)." '.$obj->libelle.''.$obj->libelle.''; + if ($obj->propalrowid) + { + print ''; + print img_file().' '; + print ''.$obj->libelle.'