Отчёт о поставках

This commit is contained in:
2024-11-21 11:41:31 +03:00
parent 54cf175b00
commit da90fe023f
5 changed files with 24 additions and 13 deletions

View File

@@ -1,4 +1,4 @@
SELECT EXISTS (
SELECT 1 FROM reports
WHERE month = $month AND year = $year
WHERE report_category_id = '$id' AND (month = '$month' AND year = '$year')
) AS exist;