Create a back link in check receipt to go back to checks list
This commit is contained in:
parent
a12e690e10
commit
362f58abff
@ -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";
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user