Modif style
This commit is contained in:
parent
71bc8d2b83
commit
dcc19539a6
@ -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 '</td></tr>';
|
||||
print "<tr><td valign=\"top\">Adresse</td><td colspan=\"3\">".nl2br($objsoc->adresse)."<br>".$objsoc->cp." ".$objsoc->ville." ".$objsoc->pays."</td></tr>";
|
||||
print "<tr><td>Téléphone</td><td> $objsoc->tel </td><td>Fax</td><td>$objsoc->fax </td></tr>";
|
||||
print '<tr><td>Téléphone</td><td>'.dolibarr_print_phone($objsoc->tel).' </td><td>Fax</td><td>'.dolibarr_print_phone($objsoc->fax).' </td></tr>';
|
||||
print "<tr><td>Web</td><td colspan=\"3\"><a href=\"http://$objsoc->url\">$objsoc->url</a> </td></tr>";
|
||||
|
||||
print "<tr><td>Siren</td><td><a href=\"http://www.societe.com/cgi-bin/recherche?rncs=$objsoc->siren\">$objsoc->siren</a> </td>";
|
||||
|
||||
@ -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 '<table width="100%" border="0">';
|
||||
print '<tr><td valign="top">';
|
||||
print '<table class="border" cellspacing="0" border="1" width="100%">';
|
||||
print '<table class="border" cellspacing="0" cellpadding="3" border="1" width="100%">';
|
||||
|
||||
print "<tr><td>Téléphone</td><td>".dolibarr_print_phone($societe->tel)." </td><td>fax</td><td>".dolibarr_print_phone($societe->fax)." </td></tr>";
|
||||
print "<tr><td>Téléphone</td><td align=\"center\">".dolibarr_print_phone($societe->tel)." </td><td>fax</td><td align=\"center\">".dolibarr_print_phone($societe->fax)." </td></tr>";
|
||||
print '<tr><td valign="top">Adresse</td><td colspan="3">'.nl2br($societe->address)."<br>$societe->cp $societe->ville</td></tr>";
|
||||
|
||||
print '<tr><td>Siret</td><td>'.$societe->siret.'</td>';
|
||||
@ -174,7 +174,7 @@ if ($socid > 0)
|
||||
$num = $db->num_rows();
|
||||
if ($num >0 )
|
||||
{
|
||||
print "<tr $bc[$var]><td colspan=\"4\"><a href=\"../propal.php?socidp=$societe->id\">Liste des propales ($num)</td></tr>";
|
||||
print "<tr $bc[$var]><td colspan=\"4\"><a href=\"../propal.php?socidp=$societe->id\">Liste des propositions commerciales ($num)</td></tr>";
|
||||
$var=!$var;
|
||||
}
|
||||
$i = 0; $now = time(); $lim = 3600 * 24 * 15 ;
|
||||
@ -182,7 +182,9 @@ if ($socid > 0)
|
||||
{
|
||||
$objp = $db->fetch_object( $i);
|
||||
print "<tr $bc[$var]>";
|
||||
print "<td><a href=\"../propal.php?propalid=$objp->propalid\">$objp->ref</a>\n";
|
||||
print "<td><a href=\"../propal.php?propalid=$objp->propalid\">";
|
||||
print img_file();
|
||||
print "</a> <a href=\"../propal.php?propalid=$objp->propalid\">$objp->ref</a>\n";
|
||||
if ( ($now - $objp->dp) > $lim && $objp->statutid == 1 )
|
||||
{
|
||||
print " <b>> 15 jours</b>";
|
||||
@ -207,6 +209,7 @@ if ($socid > 0)
|
||||
* Barre d'action
|
||||
*
|
||||
*/
|
||||
|
||||
print '<div class="tabsAction">';
|
||||
|
||||
if ($conf->propal->enabled && defined("MAIN_MODULE_PROPALE") && MAIN_MODULE_PROPALE && $user->rights->propale->creer)
|
||||
@ -220,7 +223,7 @@ if ($socid > 0)
|
||||
}
|
||||
print '</div>';
|
||||
|
||||
print '<br>';
|
||||
print '<br>';
|
||||
|
||||
/*
|
||||
*
|
||||
|
||||
@ -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
|
||||
|
||||
@ -208,7 +208,7 @@ if ($socid > 0)
|
||||
$head[$h][1] = '<img border="0" src="/theme/'.$conf->theme.'/img/bookmark.png" alt="Bookmark" title="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 '<table class="border" cellpadding="2" cellspacing="0" width="100%">';
|
||||
print '<tr><td width="20%">Nom</td><td width="80%" colspan="3">'.$objsoc->nom.'</td></tr>';
|
||||
print '<tr><td valign="top">Adresse</td><td colspan="3">'.nl2br($objsoc->adresse)."<br>$objsoc->cp $objsoc->ville</td></tr>";
|
||||
print '<tr><td>Tel</td><td>'.$objsoc->tel.' </td><td>Fax</td><td>'.$objsoc->fax.' </td></tr>';
|
||||
print '<tr><td>Tél</td><td>'.$objsoc->tel.' </td><td>Fax</td><td>'.$objsoc->fax.' </td></tr>';
|
||||
print "<tr><td>Web</td><td colspan=\"3\"><a href=\"http://$objsoc->url\">$objsoc->url</a> </td></tr>";
|
||||
|
||||
print '<tr><td>Siren</td><td><a href="http://www.societe.com/cgi-bin/recherche?rncs='.$objsoc->siren.'">'.$objsoc->siren.'</a> </td>';
|
||||
@ -350,8 +350,6 @@ if ($socid > 0)
|
||||
print "<a class=\"tabAction\" href=\"deplacement/fiche.php?socid=$objsoc->idp&action=create\">Créer Déplacement</a>";
|
||||
}
|
||||
|
||||
print '<a class="tabAction" href="'.DOL_URL_ROOT.'/contact/fiche.php?socid='.$socid.'&action=create">Ajouter un contact</a>';
|
||||
|
||||
print '</div>';
|
||||
print "<br>\n";
|
||||
|
||||
@ -462,16 +460,20 @@ if ($socid > 0)
|
||||
print "<TD>" .strftime("%H:%M",$obj->da)."</TD>\n";
|
||||
|
||||
print '<td width="10%"> </td>';
|
||||
|
||||
if ($obj->propalrowid)
|
||||
{
|
||||
print '<td width="40%"><a href="'.DOL_URL_ROOT.'/comm/propal.php?propalid='.$obj->propalrowid.'">'.$obj->libelle.'</a></td>';
|
||||
}
|
||||
else
|
||||
{
|
||||
print '<td width="40%"><a href="'.DOL_URL_ROOT.'/comm/action/fiche.php?id='.$obj->id.'">'.$obj->libelle.'</a></td>';
|
||||
}
|
||||
|
||||
print '<td width="40%">';
|
||||
if ($obj->propalrowid)
|
||||
{
|
||||
print '<a href="'.DOL_URL_ROOT.'/comm/propal.php?propalid='.$obj->propalrowid.'">';
|
||||
print img_file().'</a> ';
|
||||
print '<a href="'.DOL_URL_ROOT.'/comm/propal.php?propalid='.$obj->propalrowid.'">'.$obj->libelle.'</a></td>';
|
||||
}
|
||||
else
|
||||
{
|
||||
print '<a href="'.DOL_URL_ROOT.'/comm/action/fiche.php?id='.$obj->id.'">';
|
||||
print img_file().'</a> ';
|
||||
print '<a href="'.DOL_URL_ROOT.'/comm/action/fiche.php?id='.$obj->id.'">'.$obj->libelle.'</a></td>';
|
||||
}
|
||||
|
||||
/*
|
||||
* Contact pour cette action
|
||||
*
|
||||
|
||||
@ -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);
|
||||
|
||||
/*
|
||||
*
|
||||
|
||||
Loading…
Reference in New Issue
Block a user