Fix: Corrections mineures sur fonctions des contacts

This commit is contained in:
Laurent Destailleur 2005-11-30 23:57:13 +00:00
parent e1a0e766fe
commit 4088f7a5a3
4 changed files with 12 additions and 7 deletions

View File

@ -325,9 +325,8 @@ if ($id > 0)
print "</form>"; print "</form>";
print '<tr><td colspan="6">&nbsp;</td></tr>';
} }
print '<tr><td colspan="6">&nbsp;</td></tr>';
// Liste des contacts liés // Liste des contacts liés
print '<tr class="liste_titre">'; print '<tr class="liste_titre">';

View File

@ -77,8 +77,9 @@ $h++;
*/ */
$head = facture_prepare_head($fac); $head = facture_prepare_head($fac);
$hselected = $conf->use_preview_tabs ? $hselected = 3;
(($fac->mode_reglement_code == 'PRE') ? 5: 4): 3; if ($conf->use_preview_tabs) $hselected++;
if ($fac->mode_reglement_code == 'PRE') $hselected++;
dolibarr_fiche_head($head, $hselected, $langs->trans("Bill")." : $fac->ref"); dolibarr_fiche_head($head, $hselected, $langs->trans("Bill")." : $fac->ref");

View File

@ -105,9 +105,10 @@ if ($_GET["facid"])
$h++; $h++;
*/ */
$head = facture_prepare_head($fac); $head = facture_prepare_head($fac);
$hselected = $conf->use_preview_tabs ? $hselected = 2;
(($fac->mode_reglement_code == 'PRE') ? 4: 3): 2; if ($conf->use_preview_tabs) $hselected++;
if ($fac->mode_reglement_code == 'PRE') $hselected++;
dolibarr_fiche_head($head, $hselected, $langs->trans("Bill")." : $fac->ref"); dolibarr_fiche_head($head, $hselected, $langs->trans("Bill")." : $fac->ref");

View File

@ -113,6 +113,10 @@ if ($_GET["facid"] > 0)
$head[$h][1] = $langs->trans("CardBill"); $head[$h][1] = $langs->trans("CardBill");
$h++; $h++;
$head[$h][0] = DOL_URL_ROOT.'/compta/facture/contact.php?facid='.$fac->id;
$head[$h][1] = $langs->trans('Contact');
$h++;
if ($conf->use_preview_tabs) if ($conf->use_preview_tabs)
{ {
$head[$h][0] = DOL_URL_ROOT.'/compta/facture/apercu.php?facid='.$fac->id; $head[$h][0] = DOL_URL_ROOT.'/compta/facture/apercu.php?facid='.$fac->id;