Ajuste de consolidação
This commit is contained in:
parent
7069fa637e
commit
4fcdb8dcc4
1 changed files with 1 additions and 4 deletions
5
vendor/model/FinancialMovements.class.php
vendored
5
vendor/model/FinancialMovements.class.php
vendored
|
|
@ -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';
|
||||
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue