From 119b5117b29969a8c92a9d61a04a5c5354e11647 Mon Sep 17 00:00:00 2001 From: Kenio de Souza Date: Wed, 27 Aug 2025 10:20:45 -0300 Subject: [PATCH] =?UTF-8?q?Atualizando=20Informa=C3=A7=C3=A3o=20do=20t?= =?UTF-8?q?=C3=ADtulo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vendor/model/FinancialMovements.class.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vendor/model/FinancialMovements.class.php b/vendor/model/FinancialMovements.class.php index 659de5d..8253302 100644 --- a/vendor/model/FinancialMovements.class.php +++ b/vendor/model/FinancialMovements.class.php @@ -755,6 +755,7 @@ class FinancialMovements if( (int)$this->search > 0 ){ $this->and .= ' and c.cns = :cns '; + $this->and .= ' or fm.reference = :movement_reference '; } else { @@ -816,6 +817,7 @@ class FinancialMovements if( (int)$this->search > 0 ){ $this->stmt->bindParam('cns', $this->search); + $this->stmt->bindParam('movement_reference', $this->search); } else { @@ -879,6 +881,7 @@ class FinancialMovements if( (int)$this->search > 0 ){ $this->and .= ' and c.cns = :cns '; + $this->and .= ' or fm.reference = :movement_reference'; } else { @@ -925,6 +928,7 @@ class FinancialMovements if( (int)$this->search > 0 ){ $this->stmt->bindParam('cns', $this->search); + $this->stmt->bindParam('movement_reference', $this->search); } else {