Обновить dags/pogasheniya.py
This commit is contained in:
parent
8e73504043
commit
999889f418
|
|
@ -43,7 +43,7 @@ def pogasheniya(**kwargs):
|
|||
, osv.date_end
|
||||
FROM oborotno_salbdovaya_vedomostb osv
|
||||
LEFT JOIN pogasheniya p on p.uid_dogovor = osv.uid_subkonto2 and p.schet = osv.schet
|
||||
WHERE p.uid_dogovor is null and osv.schet::text like '%03%'::text OR osv.schet::text like '%01%'::text
|
||||
WHERE p.uid_dogovor is null and (osv.schet::text like '%03%'::text OR osv.schet::text like '%01%'::text)
|
||||
UNION ALL
|
||||
SELECT
|
||||
'76.07.1' schet
|
||||
|
|
|
|||
Loading…
Reference in New Issue