Merge pull request #6710 from atm-maxime/fix_bank_on_supp_pay
Fix : display bank on supplier payment as on customer payment
This commit is contained in:
commit
2413c728a8
@ -227,9 +227,8 @@ if ($result > 0)
|
|||||||
print '<td colspan="2">'.$langs->trans('BankAccount').'</td>';
|
print '<td colspan="2">'.$langs->trans('BankAccount').'</td>';
|
||||||
print '<td colspan="3">';
|
print '<td colspan="3">';
|
||||||
$accountstatic=new Account($db);
|
$accountstatic=new Account($db);
|
||||||
$accountstatic->id=$bankline->fk_account;
|
$accountstatic->fetch($bankline->fk_account);
|
||||||
$accountstatic->label=$bankline->bank_account_ref.' - '.$bankline->bank_account_label;
|
print $accountstatic->getNomUrl(1);
|
||||||
print $accountstatic->getNomUrl(0);
|
|
||||||
print '</td>';
|
print '</td>';
|
||||||
print '</tr>';
|
print '</tr>';
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user