Substituindo a classe ClientsProducts para ProductsCompanies
This commit is contained in:
parent
d41a0dd27c
commit
c7e99df619
1 changed files with 1 additions and 1 deletions
2
vendor/model/ProductsCompanies.class.php
vendored
2
vendor/model/ProductsCompanies.class.php
vendored
|
|
@ -198,7 +198,7 @@ class ProductsCompanies
|
|||
cp.maturity,
|
||||
(select cp.maturity from products_companies cp where cp.company_id = c.company_id limit 0, 1) as due_date
|
||||
from companies c
|
||||
left join products_companies cp on c.company_id = pc.company_id
|
||||
left join products_companies cp on c.company_id = cp.company_id
|
||||
where cp.readjustment = :readjustment
|
||||
and (select count(fm.financial_movements_id)
|
||||
from financial_movements fm
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue