Files
Siro/backend/transit/enrollment/rosters_list.php
T

15 lines
489 B
PHP

<?php
// transit/enrollment/rosters_list.php — سجل كشوف الطلاب المستوردة للمؤسسة
require_once __DIR__ . '/../../transit/connect_admin.php';
$st = $transit_con->prepare(
"SELECT id, filename, total_rows, matched_rows, new_enrollments, expired_count,
semester, notes, created_at
FROM transit_rosters
WHERE org_id=? ORDER BY created_at DESC LIMIT 50"
);
$st->execute([$transit_org_id]);
jsonSuccess(['rosters' => $st->fetchAll()]);