ليس لديك صلاحية للوصول إلى هذه الصفحة."; require_once 'includes/footer.php'; exit; } $report_type = $_GET['type'] ?? 'attendance_summary'; $month = $_GET['month'] ?? date('m'); $year = $_GET['year'] ?? date('Y'); ?>
| الموظف | أيام الحضور | أيام الغياب | التأخير | إجازات | نسبة الحضور |
|---|---|---|---|---|---|
| = htmlspecialchars($row['first_name'] . ' ' . $row['last_name']) ?> | = $row['present_days'] ?> | = $row['absent_days'] ?> | = $row['late_days'] ?> | = $row['leave_days'] ?> | = $attendance_rate ?>% |
| الرقم الوظيفي | الاسم | القسم | الوظيفة | تاريخ التعيين | الراتب الأساسي | رقم الهاتف |
|---|---|---|---|---|---|---|
| #= $emp['id'] ?> | = htmlspecialchars($emp['first_name'] . ' ' . $emp['last_name']) ?> | = htmlspecialchars($emp['dept_name'] ?? '-') ?> | = htmlspecialchars($emp['job_title']) ?> | = $emp['join_date'] ?> | = number_format($emp['basic_salary'], 2) ?> | = htmlspecialchars($emp['phone']) ?> |