New: Can link to transactions list of a bank account

This commit is contained in:
Laurent Destailleur 2011-02-07 17:51:16 +00:00
parent 966c1adeab
commit 8b70133797
2 changed files with 994 additions and 985 deletions

View File

@ -517,7 +517,7 @@ if ($account || $_GET["ref"])
print "<td nowrap>";
$label=($langs->trans("PaymentTypeShort".$objp->fk_type)!="PaymentTypeShort".$objp->fk_type)?$langs->trans("PaymentTypeShort".$objp->fk_type):$objp->fk_type;
// $label=$langs->getTradFromKey("PaymentTypeShort".$objp->fk_type);
if ($objp->fk_type == 'SOLD') $label='&nbsp;';
print $label;
print "</td>\n";
@ -572,8 +572,8 @@ if ($account || $_GET["ref"])
}
else if ($links[$key]['type']=='sc') {
}
else {
//print ' - ';
else { // Show link with label $links[$key]['label']
if (! empty($objp->label) && ! empty($links[$key]['label'])) print ' - ';
print '<a href="'.$links[$key]['url'].$links[$key]['url_id'].'">';
if (preg_match('/^\((.*)\)$/i',$links[$key]['label'],$reg))
{

File diff suppressed because it is too large Load Diff