Debug
This commit is contained in:
parent
bd608e44c7
commit
4d33effbf6
1 changed files with 9 additions and 9 deletions
18
vendor/model/FinancialMovements.class.php
vendored
18
vendor/model/FinancialMovements.class.php
vendored
|
|
@ -218,7 +218,7 @@ class FinancialMovements
|
|||
fm.reference as movement_reference,
|
||||
fm.status,
|
||||
c.reference,
|
||||
c.fantasy_name,
|
||||
c.name_fantasy,
|
||||
c.contract_type,
|
||||
u.name_first,
|
||||
u.name_last,
|
||||
|
|
@ -365,7 +365,7 @@ class FinancialMovements
|
|||
fm.movement_user_confirmed,
|
||||
fm.reference,
|
||||
fm.sicoob_response,
|
||||
c.fantasy_name,
|
||||
c.name_fantasy,
|
||||
c.document,
|
||||
c.reference as client_reference,
|
||||
c.responsible,
|
||||
|
|
@ -546,7 +546,7 @@ class FinancialMovements
|
|||
fm.movement_user_confirmed,
|
||||
fm.reference,
|
||||
fm.sicoob_response,
|
||||
c.fantasy_name
|
||||
c.name_fantasy
|
||||
from financial_movements fm
|
||||
left join companies c on fm.company_id = c.company_id
|
||||
where fm.reference = :reference';
|
||||
|
|
@ -637,7 +637,7 @@ class FinancialMovements
|
|||
fm.status,
|
||||
fm.reference,
|
||||
c.reference,
|
||||
c.fantasy_name,
|
||||
c.name_fantasy,
|
||||
c.contract_type
|
||||
from financial_movements fm
|
||||
left join companies c on fm.company_id = c.company_id
|
||||
|
|
@ -689,7 +689,7 @@ class FinancialMovements
|
|||
fm.reference as movement_reference,
|
||||
fm.status,
|
||||
c.reference,
|
||||
c.fantasy_name,
|
||||
c.name_fantasy,
|
||||
c.contract_type,
|
||||
(select fmn.notification_date from financial_movements_notify fmn where fmn.financial_movements_id = fm.financial_movements_id order by fmn.financial_movements_notify_id desc limit 0, 1) as notification_date,
|
||||
(select fmn.message from financial_movements_notify fmn where fmn.financial_movements_id = fm.financial_movements_id order by fmn.financial_movements_notify_id desc limit 0, 1) as message,
|
||||
|
|
@ -727,7 +727,7 @@ class FinancialMovements
|
|||
|
||||
$this->and .= ' and fm.description like concat(\'%\', :description, \'%\')';
|
||||
$this->and .= ' or c.reference like concat(\'%\', :reference, \'%\')';
|
||||
$this->and .= ' or c.fantasy_name like concat(\'%\', :fantasy_name, \'%\')';
|
||||
$this->and .= ' or c.name_fantasy like concat(\'%\', :fantasy_name, \'%\')';
|
||||
$this->and .= ' or fm.reference = :movement_reference';
|
||||
}
|
||||
}
|
||||
|
|
@ -851,7 +851,7 @@ class FinancialMovements
|
|||
|
||||
$this->and .= ' and fm.description like concat(\'%\', :description, \'%\')';
|
||||
$this->and .= ' or c.reference like concat(\'%\', :reference, \'%\')';
|
||||
$this->and .= ' or c.fantasy_name like concat(\'%\', :fantasy_name, \'%\')';
|
||||
$this->and .= ' or c.name_fantasy like concat(\'%\', :fantasy_name, \'%\')';
|
||||
$this->and .= ' or fm.reference = :movement_reference';
|
||||
}
|
||||
}
|
||||
|
|
@ -1002,7 +1002,7 @@ class FinancialMovements
|
|||
fm.status,
|
||||
fm.sicoob_response,
|
||||
c.reference,
|
||||
c.fantasy_name,
|
||||
c.name_fantasy,
|
||||
c.contract_type
|
||||
from financial_movements fm
|
||||
left join companies c on fm.company_id = c.company_id
|
||||
|
|
@ -1050,7 +1050,7 @@ class FinancialMovements
|
|||
fm.status,
|
||||
fm.sicoob_response,
|
||||
c.reference,
|
||||
c.fantasy_name,
|
||||
c.name_fantasy,
|
||||
c.contract_type
|
||||
from financial_movements fm
|
||||
left join companies c on fm.company_id = c.company_id
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue