Round 13b: Report Scheduling, Multi-School District Support

This commit is contained in:
Mustafa Cetin committed 2026-07-29 10:39:24 +00:00
1 parent ff4dd670d4
commit d325984786
4 files changed
+27 -3

No files matched your search

-1
View File
@@ -12,7 +12,6 @@ export async function GET(
where: { id, deletedAt: null },
include: {
schools: {
where: { deletedAt: null },
select: {
id: true,
name: true,
+1 -1
View File
@@ -17,7 +17,7 @@ export async function GET(
}
const schools = await db.school.findMany({
where: { districtId: id, deletedAt: null },
where: { districtId: id },
include: {
_count: {
select: { students: true, classGroups: true, users: true },
-1
View File
@@ -8,7 +8,6 @@ export async function GET() {
where: { deletedAt: null },
include: {
schools: {
where: { deletedAt: null },
select: { id: true, name: true, schoolType: true, country: true },
},
},