From 4fcdb8dcc4967a8eb685a3a895f7bb9bc91cd939 Mon Sep 17 00:00:00 2001 From: Kenio de Souza Date: Wed, 17 Sep 2025 20:48:11 -0300 Subject: [PATCH] =?UTF-8?q?Ajuste=20de=20consolida=C3=A7=C3=A3o?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vendor/model/FinancialMovements.class.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/vendor/model/FinancialMovements.class.php b/vendor/model/FinancialMovements.class.php index 0fbce40..b95a828 100644 --- a/vendor/model/FinancialMovements.class.php +++ b/vendor/model/FinancialMovements.class.php @@ -322,10 +322,7 @@ class FinancialMovements /** Se a data de vencimento tiver sido informada, localiza o registro para data de vencimento original */ if(!empty($this->movementDateScheduled)){ - $this->and = ' and ((select fmp.movement_date_scheduled - from financial_movements fmp - where fmp.financial_movements_id = fm.movement_previous) = :movement_date_scheduled - or fm.movement_date_scheduled = :movement_date_scheduled)'; + $this->and = ' and fm.movement_date_scheduled = :movement_date_scheduled'; };