diff --git a/htdocs/compta/paiement/cheque/fiche.php b/htdocs/compta/paiement/cheque/fiche.php index f2f972adc5fc4736c46964986c37c6514244d1d6..40fd36507f54e319028e803e7ab1b6033e6f05d9 100644 --- a/htdocs/compta/paiement/cheque/fiche.php +++ b/htdocs/compta/paiement/cheque/fiche.php @@ -331,7 +331,7 @@ if ($_GET['action'] == 'new') else { $object=$remisecheque; - + $linkback="<a href=\"fiche.php?leftmenu=customers_bills_checks&action=new\">".$langs->trans("BackToList")."</a>"; $paymentstatic=new Paiement($db); $accountlinestatic=new AccountLine($db); $accountstatic=new Account($db); @@ -342,7 +342,7 @@ else print '<table class="border" width="100%">'; print '<tr><td width="20%">'.$langs->trans('Ref').'</td><td colspan="2" >'; - print $html->showrefnav($remisecheque,'ref','', 1, 'number'); + print $html->showrefnav($remisecheque,'ref',$linkback, 1, 'number'); print "</td>"; print "</tr>\n"; diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php index 170e20bc7ca722bd34ecc6c380644b4424bfec04..62f6d31acd733920bd19755e2fdee6f22bc16f39 100644 --- a/htdocs/core/class/html.form.class.php +++ b/htdocs/core/class/html.form.class.php @@ -3130,7 +3130,7 @@ class Form } /** - * Return a HTML area with the reference of object and a naviagation bar for a business object + * Return a HTML area with the reference of object and a navigation bar for a business object * To add a particular filter on select, you must set $object->next_prev_filter to SQL criteria. * @param object Object to show * @param paramid Name of parameter to use to name the id into the URL link