Fix: Corrections mineures sur fonctions des contacts
This commit is contained in:
parent
e1a0e766fe
commit
4088f7a5a3
@ -325,9 +325,8 @@ if ($id > 0)
|
||||
|
||||
print "</form>";
|
||||
|
||||
print '<tr><td colspan="6"> </td></tr>';
|
||||
}
|
||||
|
||||
print '<tr><td colspan="6"> </td></tr>';
|
||||
|
||||
// Liste des contacts liés
|
||||
print '<tr class="liste_titre">';
|
||||
|
||||
@ -77,8 +77,9 @@ $h++;
|
||||
*/
|
||||
|
||||
$head = facture_prepare_head($fac);
|
||||
$hselected = $conf->use_preview_tabs ?
|
||||
(($fac->mode_reglement_code == 'PRE') ? 5: 4): 3;
|
||||
$hselected = 3;
|
||||
if ($conf->use_preview_tabs) $hselected++;
|
||||
if ($fac->mode_reglement_code == 'PRE') $hselected++;
|
||||
dolibarr_fiche_head($head, $hselected, $langs->trans("Bill")." : $fac->ref");
|
||||
|
||||
|
||||
|
||||
@ -105,9 +105,10 @@ if ($_GET["facid"])
|
||||
$h++;
|
||||
*/
|
||||
|
||||
$head = facture_prepare_head($fac);
|
||||
$hselected = $conf->use_preview_tabs ?
|
||||
(($fac->mode_reglement_code == 'PRE') ? 4: 3): 2;
|
||||
$head = facture_prepare_head($fac);
|
||||
$hselected = 2;
|
||||
if ($conf->use_preview_tabs) $hselected++;
|
||||
if ($fac->mode_reglement_code == 'PRE') $hselected++;
|
||||
dolibarr_fiche_head($head, $hselected, $langs->trans("Bill")." : $fac->ref");
|
||||
|
||||
|
||||
|
||||
@ -113,6 +113,10 @@ if ($_GET["facid"] > 0)
|
||||
$head[$h][1] = $langs->trans("CardBill");
|
||||
$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)
|
||||
{
|
||||
$head[$h][0] = DOL_URL_ROOT.'/compta/facture/apercu.php?facid='.$fac->id;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user