Modif style
This commit is contained in:
parent
71bc8d2b83
commit
dcc19539a6
@ -152,13 +152,13 @@ if ($_GET["socid"] > 0)
|
|||||||
if ($objsoc->fournisseur)
|
if ($objsoc->fournisseur)
|
||||||
{
|
{
|
||||||
$head[$h][0] = DOL_URL_ROOT.'/fourn/fiche.php?socid='.$objsoc->id;
|
$head[$h][0] = DOL_URL_ROOT.'/fourn/fiche.php?socid='.$objsoc->id;
|
||||||
$head[$h][1] = 'Fiche fournisseur';
|
$head[$h][1] = 'Fournisseur';
|
||||||
$h++;
|
$h++;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($conf->compta->enabled) {
|
if ($conf->compta->enabled) {
|
||||||
$head[$h][0] = DOL_URL_ROOT.'/compta/fiche.php?socid='.$objsoc->id;
|
$head[$h][0] = DOL_URL_ROOT.'/compta/fiche.php?socid='.$objsoc->id;
|
||||||
$head[$h][1] = 'Fiche compta';
|
$head[$h][1] = 'Comptabilité';
|
||||||
$h++;
|
$h++;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -204,7 +204,7 @@ if ($_GET["socid"] > 0)
|
|||||||
print $objsoc->nom;
|
print $objsoc->nom;
|
||||||
print '</td></tr>';
|
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 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>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>";
|
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)
|
if ($result)
|
||||||
{
|
{
|
||||||
$head[0][0] = DOL_URL_ROOT.'/soc.php?socid='.$societe->id;
|
$h=0;
|
||||||
$head[0][1] = "Fiche société";
|
$head[$h][0] = DOL_URL_ROOT.'/soc.php?socid='.$societe->id;
|
||||||
$h = 1;
|
$head[$h][1] = "Fiche société";
|
||||||
|
$h++;
|
||||||
|
|
||||||
$head[$h][0] = DOL_URL_ROOT.'/comm/prospect/fiche.php?id='.$societe->id;
|
$head[$h][0] = DOL_URL_ROOT.'/comm/prospect/fiche.php?id='.$societe->id;
|
||||||
$head[$h][1] = 'Prospect';
|
$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][0] = DOL_URL_ROOT.'/societe/notify/fiche.php?socid='.$societe->id;
|
||||||
$head[$h][1] = 'Notifications';
|
$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 '<table width="100%" border="0">';
|
||||||
print '<tr><td valign="top">';
|
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 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>';
|
print '<tr><td>Siret</td><td>'.$societe->siret.'</td>';
|
||||||
@ -174,7 +174,7 @@ if ($socid > 0)
|
|||||||
$num = $db->num_rows();
|
$num = $db->num_rows();
|
||||||
if ($num >0 )
|
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;
|
$var=!$var;
|
||||||
}
|
}
|
||||||
$i = 0; $now = time(); $lim = 3600 * 24 * 15 ;
|
$i = 0; $now = time(); $lim = 3600 * 24 * 15 ;
|
||||||
@ -182,7 +182,9 @@ if ($socid > 0)
|
|||||||
{
|
{
|
||||||
$objp = $db->fetch_object( $i);
|
$objp = $db->fetch_object( $i);
|
||||||
print "<tr $bc[$var]>";
|
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 )
|
if ( ($now - $objp->dp) > $lim && $objp->statutid == 1 )
|
||||||
{
|
{
|
||||||
print " <b>> 15 jours</b>";
|
print " <b>> 15 jours</b>";
|
||||||
@ -207,6 +209,7 @@ if ($socid > 0)
|
|||||||
* Barre d'action
|
* Barre d'action
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
print '<div class="tabsAction">';
|
print '<div class="tabsAction">';
|
||||||
|
|
||||||
if ($conf->propal->enabled && defined("MAIN_MODULE_PROPALE") && MAIN_MODULE_PROPALE && $user->rights->propale->creer)
|
if ($conf->propal->enabled && defined("MAIN_MODULE_PROPALE") && MAIN_MODULE_PROPALE && $user->rights->propale->creer)
|
||||||
|
|||||||
@ -407,7 +407,7 @@ else
|
|||||||
$h = 1;
|
$h = 1;
|
||||||
$a = 0;
|
$a = 0;
|
||||||
|
|
||||||
dolibarr_fiche_head($head, $a);
|
dolibarr_fiche_head($head, $a, $soc->nom);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Confirmation de la suppression de la commande
|
* 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][1] = '<img border="0" src="/theme/'.$conf->theme.'/img/bookmark.png" alt="Bookmark" title="Bookmark">';
|
||||||
$head[$h][2] = 'image';
|
$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 '<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 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 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>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>';
|
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=\"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 '</div>';
|
||||||
print "<br>\n";
|
print "<br>\n";
|
||||||
|
|
||||||
@ -462,14 +460,18 @@ if ($socid > 0)
|
|||||||
print "<TD>" .strftime("%H:%M",$obj->da)."</TD>\n";
|
print "<TD>" .strftime("%H:%M",$obj->da)."</TD>\n";
|
||||||
|
|
||||||
print '<td width="10%"> </td>';
|
print '<td width="10%"> </td>';
|
||||||
|
print '<td width="40%">';
|
||||||
if ($obj->propalrowid)
|
if ($obj->propalrowid)
|
||||||
{
|
{
|
||||||
print '<td width="40%"><a href="'.DOL_URL_ROOT.'/comm/propal.php?propalid='.$obj->propalrowid.'">'.$obj->libelle.'</a></td>';
|
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
|
else
|
||||||
{
|
{
|
||||||
print '<td width="40%"><a href="'.DOL_URL_ROOT.'/comm/action/fiche.php?id='.$obj->id.'">'.$obj->libelle.'</a></td>';
|
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>';
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
@ -69,7 +69,7 @@ if ( $societe->fetch($socid) )
|
|||||||
{
|
{
|
||||||
$hselected=$h;
|
$hselected=$h;
|
||||||
$head[$h][0] = DOL_URL_ROOT.'/fourn/fiche.php?socid='.$socid;
|
$head[$h][0] = DOL_URL_ROOT.'/fourn/fiche.php?socid='.$socid;
|
||||||
$head[$h][1] = 'Fiche fournisseur';
|
$head[$h][1] = 'Fournisseur';
|
||||||
$h++;
|
$h++;
|
||||||
}
|
}
|
||||||
if ($conf->produit->enabled) {
|
if ($conf->produit->enabled) {
|
||||||
@ -78,7 +78,7 @@ if ( $societe->fetch($socid) )
|
|||||||
$h++;
|
$h++;
|
||||||
}
|
}
|
||||||
|
|
||||||
dolibarr_fiche_head($head, $hselected);
|
dolibarr_fiche_head($head, $hselected, $societe->nom);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user