Missing translation of transaction types in releve detail
This commit is contained in:
parent
e53c55002f
commit
5d46115dd3
@ -310,7 +310,12 @@ else
|
|||||||
print "</td>\n";
|
print "</td>\n";
|
||||||
|
|
||||||
// Type and num
|
// Type and num
|
||||||
print '<td class="nowrap">'.$objp->fk_type.' '.($objp->num_chq?$objp->num_chq:'').'</td>';
|
if ($objp->fk_type == 'SOLD') {
|
||||||
|
$type_label=' ';
|
||||||
|
} else {
|
||||||
|
$type_label=($langs->trans("PaymentTypeShort".$objp->fk_type)!="PaymentTypeShort".$objp->fk_type)?$langs->trans("PaymentTypeShort".$objp->fk_type):$objp->fk_type;
|
||||||
|
}
|
||||||
|
print '<td class="nowrap">'.$type_label.' '.($objp->num_chq?$objp->num_chq:'').'</td>';
|
||||||
|
|
||||||
// Description
|
// Description
|
||||||
print '<td valign="center"><a href="'.DOL_URL_ROOT.'/compta/bank/ligne.php?rowid='.$objp->rowid.'&account='.$acct->id.'">';
|
print '<td valign="center"><a href="'.DOL_URL_ROOT.'/compta/bank/ligne.php?rowid='.$objp->rowid.'&account='.$acct->id.'">';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user