45 |
$soc = new Societe($db, $fac->socidp); |
$soc = new Societe($db, $fac->socidp); |
46 |
$soc->fetch($fac->socidp); |
$soc->fetch($fac->socidp); |
47 |
|
|
48 |
|
/* //laissé pour test tache 4984 |
49 |
$h = 0; |
$h = 0; |
50 |
|
|
51 |
$head[$h][0] = DOL_URL_ROOT.'/compta/facture.php?facid='.$fac->id; |
$head[$h][0] = DOL_URL_ROOT.'/compta/facture.php?facid='.$fac->id; |
74 |
$head[$h][1] = $langs->trans("Info"); |
$head[$h][1] = $langs->trans("Info"); |
75 |
$hselected = $h; |
$hselected = $h; |
76 |
$h++; |
$h++; |
77 |
|
*/ |
78 |
|
|
79 |
|
$head = facture_prepare_head($fac); |
80 |
|
$hselected = $conf->use_preview_tabs ? |
81 |
|
(($fac->mode_reglement_code == 'PRE') ? 5: 4): 3; |
82 |
dolibarr_fiche_head($head, $hselected, $langs->trans("Bill")." : $fac->ref"); |
dolibarr_fiche_head($head, $hselected, $langs->trans("Bill")." : $fac->ref"); |
83 |
|
|
84 |
|
|