From 2dc6e9892dea41799b7e15841b3bb069f2ad57a4 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Thu, 12 Jul 2007 08:22:12 +0000 Subject: [PATCH] Ajout bouton de next/previous --- htdocs/telephonie/ligne/stat.php | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/htdocs/telephonie/ligne/stat.php b/htdocs/telephonie/ligne/stat.php index bd8cfc87483..e634c99c471 100644 --- a/htdocs/telephonie/ligne/stat.php +++ b/htdocs/telephonie/ligne/stat.php @@ -82,10 +82,17 @@ if ($_GET["id"] or $_GET["numero"]) $hselected = $h; $h++; - dolibarr_fiche_head($head, $hselected, 'Ligne : '.$ligne->numero); + $ligne->load_previous_next_id(); + + $previous_ref = $ligne->ref_previous?''.img_previous().'':''; + $next_ref = $ligne->ref_next?''.img_next().'':''; - print_fiche_titre('Fiche Ligne', $mesg); - + dolibarr_fiche_head($head, $hselected, 'Statistiques ligne'); + + print ''; + print '
Statistiques '.$mesg.''.$product->ref.''; + print ''.$previous_ref.''.$next_ref.'

'; + print ''; print '';
Numéro'.dolibarr_print_phone($ligne->numero).'