Fix: Corrections mineures sur fonctions des contacts
This commit is contained in:
parent
e1a0e766fe
commit
4088f7a5a3
@ -325,10 +325,9 @@ if ($id > 0)
|
|||||||
|
|
||||||
print "</form>";
|
print "</form>";
|
||||||
|
|
||||||
|
print '<tr><td colspan="6"> </td></tr>';
|
||||||
}
|
}
|
||||||
|
|
||||||
print '<tr><td colspan="6"> </td></tr>';
|
|
||||||
|
|
||||||
// Liste des contacts liés
|
// Liste des contacts liés
|
||||||
print '<tr class="liste_titre">';
|
print '<tr class="liste_titre">';
|
||||||
print '<td>'.$langs->trans("Source").'</td>';
|
print '<td>'.$langs->trans("Source").'</td>';
|
||||||
|
|||||||
@ -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");
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -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");
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -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;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user