75 |
$soc = new Societe($db, $fac->socidp); |
$soc = new Societe($db, $fac->socidp); |
76 |
$soc->fetch($fac->socidp); |
$soc->fetch($fac->socidp); |
77 |
|
|
78 |
|
/* //laissé en commentaire pour test tache 4984 |
79 |
$h=0; |
$h=0; |
80 |
|
|
81 |
$head[$h][0] = DOL_URL_ROOT.'/compta/facture.php?facid='.$fac->id; |
$head[$h][0] = DOL_URL_ROOT.'/compta/facture.php?facid='.$fac->id; |
103 |
$head[$h][0] = DOL_URL_ROOT.'/compta/facture/info.php?facid='.$fac->id; |
$head[$h][0] = DOL_URL_ROOT.'/compta/facture/info.php?facid='.$fac->id; |
104 |
$head[$h][1] = $langs->trans("Info"); |
$head[$h][1] = $langs->trans("Info"); |
105 |
$h++; |
$h++; |
106 |
|
*/ |
107 |
|
|
108 |
|
$head = facture_prepare_head($fac); |
109 |
|
$hselected = $conf->use_preview_tabs ? |
110 |
|
(($fac->mode_reglement_code == 'PRE') ? 4: 3): 2; |
111 |
dolibarr_fiche_head($head, $hselected, $langs->trans("Bill")." : $fac->ref"); |
dolibarr_fiche_head($head, $hselected, $langs->trans("Bill")." : $fac->ref"); |
112 |
|
|
113 |
|
|