FIX: Display All Types of Payments on Expense Report Card
Fixes #9991 - Bug: 7.0.4: Expense Report Payment Type Not Displayed - without this fix, only cash type accounts were shown when payment was made
This commit is contained in:
parent
b77aa3e094
commit
db719dbcbb
@ -1925,7 +1925,7 @@ else
|
||||
print $paymentexpensereportstatic->getNomUrl(1);
|
||||
print '</td>';
|
||||
print '<td>'.dol_print_date($db->jdate($objp->dp),'day')."</td>\n";
|
||||
$labeltype=$langs->trans("PaymentType".$objp->p_code)!=("PaymentType".$objp->p_code)?$langs->trans("PaymentType".$objp->p_code):$objp->fk_typepayment;
|
||||
$labeltype=$langs->trans("PaymentType".$objp->p_code)!=("PaymentType".$objp->p_code)?$langs->trans("PaymentType".$objp->p_code):$objp->payment_type;
|
||||
print "<td>".$labeltype.' '.$objp->num_payment."</td>\n";
|
||||
if (! empty($conf->banque->enabled))
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user