From 573a6bcfdd5275e199fc9993e37709e9891abbbe Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 12 Nov 2024 14:13:52 +0100 Subject: [PATCH] Update bankjournal.php --- htdocs/accountancy/journal/bankjournal.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/htdocs/accountancy/journal/bankjournal.php b/htdocs/accountancy/journal/bankjournal.php index 31c41e8922bda..a50430b06dd83 100644 --- a/htdocs/accountancy/journal/bankjournal.php +++ b/htdocs/accountancy/journal/bankjournal.php @@ -568,9 +568,6 @@ $paymentexpensereportstatic->id = $links[$key]['url_id']; $tabpay[$obj->rowid]["lib"] .= $paymentexpensereportstatic->getNomUrl(2); $tabpay[$obj->rowid]["paymentexpensereport"] = $paymentexpensereportstatic->id; - if ($compta_user) { - $tabtp[$obj->rowid][$compta_user] += $amounttouse; - } } elseif ($links[$key]['type'] == 'payment_various') { $paymentvariousstatic->id = $links[$key]['url_id']; $paymentvariousstatic->ref = (string) $links[$key]['url_id'];