softDelete features
This commit is contained in:
@@ -319,7 +319,7 @@ class FinancialReports
|
||||
SUM(i.credit) AS total_credit
|
||||
FROM td_gl g
|
||||
JOIN td_gl_item i ON i.gl_id = g.id AND i.company_id = g.company_id
|
||||
WHERE g.company_id = :cid
|
||||
WHERE g.company_id = :cid AND g.source_type != 'voided'
|
||||
GROUP BY g.id, g.source_type, g.reference, g.description, g.journal_date, g.period, g.created_at
|
||||
ORDER BY g.created_at DESC
|
||||
LIMIT {$limit}
|
||||
|
||||
Reference in New Issue
Block a user