Merge pull request #21235 from Silocan/payment-duplicate-bank-transaction
fix: remove duplication bank transaction
This commit is contained in:
commit
2d9a9ddd22
@ -441,9 +441,15 @@ while ($i < min($num, $limit)) {
|
|||||||
|
|
||||||
// Bank transaction
|
// Bank transaction
|
||||||
if (!empty($arrayfields['transaction']['checked'])) {
|
if (!empty($arrayfields['transaction']['checked'])) {
|
||||||
|
print '<td>';
|
||||||
|
if ($objp->fk_bank) {
|
||||||
$bankline->fetch($objp->fk_bank);
|
$bankline->fetch($objp->fk_bank);
|
||||||
print '<td>'.$bankline->getNomUrl(1, 0).'</td>';
|
print $bankline->getNomUrl(1, 0);
|
||||||
if (!$i) $totalarray['nbfield']++;
|
}
|
||||||
|
print '</td>';
|
||||||
|
if (!$i) {
|
||||||
|
$totalarray['nbfield']++;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Bank account
|
// Bank account
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user