From 900fa67c9e64c80aaa3de8e35cfbdc74ea551c80 Mon Sep 17 00:00:00 2001 From: ldestailleur Date: Sat, 4 Oct 2025 15:12:02 +0200 Subject: [PATCH] Clean code --- htdocs/compta/paiement/class/paiement.class.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/htdocs/compta/paiement/class/paiement.class.php b/htdocs/compta/paiement/class/paiement.class.php index ed04237c4ed..52d15561030 100644 --- a/htdocs/compta/paiement/class/paiement.class.php +++ b/htdocs/compta/paiement/class/paiement.class.php @@ -708,6 +708,7 @@ class Paiement extends CommonObject // Delete bank urls. If payment is on a conciliated line, return error. if ($bank_line_id > 0) { + include_once DOL_DOCUMENT_ROOT.'/compta/bank/class/account.class.php'; $accline = new AccountLine($this->db); $result = $accline->fetch($bank_line_id); @@ -1557,6 +1558,7 @@ class Paiement extends CommonObject */ public function isReconciled() { + include_once DOL_DOCUMENT_ROOT.'/compta/bank/class/account.class.php'; $accountline = new AccountLine($this->db); $accountline->fetch($this->bank_line); return $accountline->rappro ? true : false;