From 28214bc8b9ec24171f7db273d51d4809f90882d5 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 2 Jan 2009 13:20:55 +0000 Subject: [PATCH] Add navigation on month/year on bank report --- htdocs/html.form.class.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/htdocs/html.form.class.php b/htdocs/html.form.class.php index 4d1c77ab045..f0877266ca2 100644 --- a/htdocs/html.form.class.php +++ b/htdocs/html.form.class.php @@ -2568,15 +2568,16 @@ class Form * \param fieldid Nom du champ en base a utiliser pour select next et previous * \param fieldref Nom du champ objet ref (object->ref) a utiliser pour select next et previous * \param morehtmlref Code html supplementaire a afficher apres ref + * \param moreparam More param to ad in nav link url. * \return string Portion HTML avec ref + boutons nav */ - function showrefnav($object,$paramid,$morehtml='',$shownav=1,$fieldid='rowid',$fieldref='ref',$morehtmlref='') + function showrefnav($object,$paramid,$morehtml='',$shownav=1,$fieldid='rowid',$fieldref='ref',$morehtmlref='',$moreparam='') { $ret=''; $object->load_previous_next_ref($object->next_prev_filter,$fieldid); - $previous_ref = $object->ref_previous?''.img_previous().'':''; - $next_ref = $object->ref_next?''.img_next().'':''; + $previous_ref = $object->ref_previous?''.img_previous().'':''; + $next_ref = $object->ref_next?''.img_next().'':''; //print "xx".$previous_ref."x".$next_ref; if ($previous_ref || $next_ref || $morehtml) {