diff --git a/htdocs/telephonie/contrat/fiche.php b/htdocs/telephonie/contrat/fiche.php index 8ab55917496..42bb47eb5df 100644 --- a/htdocs/telephonie/contrat/fiche.php +++ b/htdocs/telephonie/contrat/fiche.php @@ -457,10 +457,17 @@ else $head[$h][1] = $langs->trans("Infos"); $h++; + $contrat->load_previous_next_id(); + $previous_ref = $contrat->ref_previous?''.img_previous().'':''; + $next_ref = $contrat->ref_next?''.img_next().'':''; dolibarr_fiche_head($head, $hselected, 'Contrat : '.$contrat->ref); - print_fiche_titre('Fiche Contrat', $mesg); - + //print_fiche_titre('Fiche Contrat', $mesg); + + print ''; + print '
Fiche Contrat'.$product->ref.''; + print ''.$previous_ref.''.$next_ref.'

'; + print ''; //$client_comm = new Societe($db); @@ -951,16 +958,11 @@ else print ''; } - /* - * - * * */ - print ''; - /* ************************************************************************** */ /* */ /* Barre d'action */ @@ -971,7 +973,6 @@ else if ($_GET["action"] == '') { - if ($user->rights->telephonie->ligne->creer && $contrat->statut <> 6) { print 'Nouvelle ligne';