Modif libells onglets avec mme titres que soc.php

This commit is contained in:
Laurent Destailleur 2004-07-24 22:34:11 +00:00
parent 0c8150ddbd
commit 30e06d8bb1
5 changed files with 16 additions and 16 deletions

View File

@ -139,14 +139,14 @@ if ($_GET["socid"] > 0)
{
$hselected=$h;
$head[$h][0] = DOL_URL_ROOT.'/comm/fiche.php?socid='.$objsoc->id;
$head[$h][1] = 'Fiche client';
$head[$h][1] = 'Client';
$h++;
}
if ($objsoc->client==2)
{
$hselected=$h;
$head[$h][0] = DOL_URL_ROOT.'/comm/prospect/fiche.php?id='.$obj->socid;
$head[$h][1] = 'Fiche prospect';
$head[$h][1] = 'Prospect';
$h++;
}
if ($objsoc->fournisseur)

View File

@ -84,27 +84,27 @@ if ($socid > 0)
if ($societe->client==1)
{
$head[$h][0] = DOL_URL_ROOT.'/comm/fiche.php?socid='.$societe->id;
$head[$h][1] = 'Fiche client';
$head[$h][1] = 'Client';
$h++;
}
if ($societe->client==2)
{
$head[$h][0] = DOL_URL_ROOT.'/comm/prospect/fiche.php?id='.$societe->id;
$head[$h][1] = 'Fiche prospect';
$head[$h][1] = 'Prospect';
$h++;
}
if ($societe->fournisseur)
{
$head[$h][0] = DOL_URL_ROOT.'/fourn/fiche.php?socid='.$societe->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='.$societe->id;
$head[$h][1] = 'Fiche compta';
$head[$h][1] = 'Comptabilité';
$h++;
}

View File

@ -56,13 +56,13 @@ if ( $societe->fetch($socid) )
if ($societe->client==1)
{
$head[$h][0] = DOL_URL_ROOT.'/comm/fiche.php?socid='.$socid;
$head[$h][1] = 'Fiche client';
$head[$h][1] = 'Client';
$h++;
}
if ($societe->client==2)
{
$head[$h][0] = DOL_URL_ROOT.'/comm/prospect/fiche.php?id='.$socid;
$head[$h][1] = 'Fiche prospect';
$head[$h][1] = 'Prospect';
$h++;
}
if ($societe->fournisseur)

View File

@ -82,26 +82,26 @@ if ( $soc->fetch($soc->id) )
if ($soc->client==1)
{
$head[$h][0] = DOL_URL_ROOT.'/comm/fiche.php?socid='.$soc->id;
$head[$h][1] = 'Fiche client';
$head[$h][1] = 'Client';
$h++;
}
if ($soc->client==2)
{
$head[$h][0] = DOL_URL_ROOT.'/comm/prospect/fiche.php?id='.$soc->id;
$head[$h][1] = 'Fiche prospect';
$head[$h][1] = 'Prospect';
$h++;
}
if ($soc->fournisseur)
{
$head[$h][0] = DOL_URL_ROOT.'/fourn/fiche.php?socid='.$soc->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='.$soc->id;
$head[$h][1] = 'Fiche compta';
$head[$h][1] = 'Comptabilite';
$h++;
}

View File

@ -48,26 +48,26 @@ if ($_GET["socid"] > 0) {
if ($societe->client==1)
{
$head[$h][0] = DOL_URL_ROOT.'/comm/fiche.php?socid='.$societe->id;
$head[$h][1] = 'Fiche client';
$head[$h][1] = 'Client';
$h++;
}
if ($societe->client==2)
{
$head[$h][0] = DOL_URL_ROOT.'/comm/prospect/fiche.php?id='.$societe->id;
$head[$h][1] = 'Fiche prospect';
$head[$h][1] = 'Prospect';
$h++;
}
if ($societe->fournisseur)
{
$head[$h][0] = DOL_URL_ROOT.'/fourn/fiche.php?socid='.$societe->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='.$societe->id;
$head[$h][1] = 'Fiche compta';
$head[$h][1] = 'Comptabilité';
$h++;
}