diff --git a/htdocs/telephonie/ligne/fiche.php b/htdocs/telephonie/ligne/fiche.php index 3350a461c65..a135b52e6a4 100644 --- a/htdocs/telephonie/ligne/fiche.php +++ b/htdocs/telephonie/ligne/fiche.php @@ -545,6 +545,15 @@ else $head[$h][1] = $langs->trans('Historique'); $h++; + $head[$h][0] = DOL_URL_ROOT."/telephonie/ligne/commentaires.php?id=".$ligne->id; + $head[$h][1] = $langs->trans('Commentaires'); + $numc = $ligne->num_comments(); + if ($numc > 0) + { + $head[$h][1] = $langs->trans("Commentaires ($numc)"); + } + $h++; + $head[$h][0] = DOL_URL_ROOT."/telephonie/ligne/conso.php?id=".$ligne->id; $head[$h][1] = $langs->trans('Conso'); $h++; @@ -553,9 +562,16 @@ else $head[$h][1] = $langs->trans('Stats'); $h++; + $ligne->load_previous_next_id(); + + $previous_ref = $ligne->ref_previous?''.img_previous().'':''; + $next_ref = $ligne->ref_next?''.img_next().'':''; + dolibarr_fiche_head($head, $hselected, 'Ligne : '.$ligne->numero); - print_fiche_titre('Fiche Ligne', $mesg); + print ''; + print '
Fiche Ligne '.$mesg.''.$product->ref.''; + print ''.$previous_ref.''.$next_ref.'

'; /* *