Create a back link in check receipt to go back to checks list

This commit is contained in:
Philippe Grand 2010-12-29 10:17:41 +00:00
parent a12e690e10
commit 362f58abff
2 changed files with 3 additions and 3 deletions

View File

@ -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";

View File

@ -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