Use this form to test biometric integration. In a real scenario, the device POSTs to /api/biometric_push.php.
diff --git a/includes/pages/hr_leaves.php b/includes/pages/hr_leaves.php
index e4184c6..1b60f0b 100644
--- a/includes/pages/hr_leaves.php
+++ b/includes/pages/hr_leaves.php
@@ -65,9 +65,9 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
-
Leave Requests
+
@@ -76,12 +76,12 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
@@ -93,13 +93,13 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
- | Employee |
- Type |
- Duration |
- Days |
- Reason |
- Status |
- Actions |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
@@ -124,22 +124,22 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
-
- | No requests found |
+ |
@@ -168,13 +168,13 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
diff --git a/lang.php b/lang.php
index bbcb51c..44a7fc1 100644
--- a/lang.php
+++ b/lang.php
@@ -464,7 +464,49 @@ $translations = array (
'none' => 'None',
'ssl' => 'SSL',
'tls' => 'TLS',
- 'room_number' => 'Room Number'
+ 'room_number' => 'Room Number',
+ 'hr_dashboard' => 'HR Dashboard',
+ 'attendance_logs' => 'Attendance Logs',
+ 'total_employees' => 'Total Employees',
+ 'present_today' => 'Present Today',
+ 'on_leave_today' => 'On Leave Today',
+ 'pending_requests' => 'Pending Requests',
+ 'recent_attendance_logs' => 'Recent Attendance Logs',
+ 'employee' => 'Employee',
+ 'source' => 'Source',
+ 'no_logs_today' => 'No logs today',
+ 'simulate_biometric_device_push' => 'Simulate Biometric Device Push',
+ 'employee_id' => 'Employee ID',
+ 'check_in' => 'Check In',
+ 'check_out' => 'Check Out',
+ 'simulate_push' => 'Simulate Push',
+ 'manual_entry' => 'Manual Entry',
+ 'all_employees' => 'All Employees',
+ 'id' => 'ID',
+ 'no_logs_found' => 'No logs found',
+ 'add_attendance_log' => 'Add Attendance Log',
+ 'check_in_time' => 'Check In Time',
+ 'check_out_time' => 'Check Out Time',
+ 'present' => 'Present',
+ 'late' => 'Late',
+ 'absent' => 'Absent',
+ 'on_leave' => 'On Leave',
+ 'new_request' => 'New Request',
+ 'approved' => 'Approved',
+ 'rejected' => 'Rejected',
+ 'duration' => 'Duration',
+ 'days' => 'Days',
+ 'no_requests_found' => 'No requests found',
+ 'request_leave' => 'Request Leave',
+ 'leave_type' => 'Leave Type',
+ 'annual' => 'Annual',
+ 'sick' => 'Sick',
+ 'casual' => 'Casual',
+ 'unpaid' => 'Unpaid',
+ 'submit' => 'Submit',
+ 'approve' => 'Approve',
+ 'reject' => 'Reject',
+ 'confirm_delete_request' => 'Are you sure you want to delete this request?'
),
'ar' =>
array (
@@ -805,67 +847,67 @@ $translations = array (
'upload_failed' => 'File upload failed',
'profile_updated_successfully' => 'Profile updated successfully',
'error_updating_profile' => 'Error updating profile',
- 'settings_updated_successfully' => 'Settings updated successfully.',
- 'company_details' => 'Company Details',
- 'company_name' => 'Company Name',
- 'company_email' => 'Company Email',
- 'company_phone' => 'Company Phone',
- 'company_address' => 'Company Address',
- 'ctr_no' => 'CR No.',
- 'registration_no' => 'Registration No.',
- 'vat_no' => 'VAT No.',
- 'timezone' => 'Timezone',
- 'working_hours_start' => 'Working Hours Start',
- 'working_hours_end' => 'Working Hours End',
- 'currency_settings' => 'Currency Settings',
- 'currency_symbol' => 'Currency Symbol',
- 'decimal_digits' => 'Decimal Digits',
- 'company_logo' => 'Company Logo',
- 'company_favicon' => 'Company Favicon',
- 'civil_id' => 'Civil ID',
- 'nationality' => 'Nationality',
- 'dob' => 'Date of Birth',
- 'gender' => 'Gender',
- 'blood_group' => 'Blood Group',
- 'insurance_company' => 'Insurance Company',
- 'address' => 'Address',
- 'male' => 'Male',
- 'female' => 'Female',
- 'other' => 'Other',
- 'edit_patient' => 'Edit Patient',
- 'delete_patient' => 'Delete Patient',
- 'confirm_delete' => 'Are you sure you want to delete',
- 'add_doctor' => 'Add Doctor',
- 'edit_doctor' => 'Edit Doctor',
- 'specialization_en' => 'Specialization (English)',
- 'specialization_ar' => 'Specialization (Arabic)',
- 'hr_management' => 'HR Management',
- 'attendance' => 'Attendance',
- 'leave_requests' => 'Leave Requests',
- 'add_employee' => 'Add Employee',
- 'edit_employee' => 'Edit Employee',
- 'delete_employee' => 'Delete Employee',
- 'select_position' => 'Select Position',
- 'no_employees_found' => 'No employees found',
- 'visit_settings' => 'Visit Settings',
- 'disable_visit_edit_24h' => 'Disable editing visits after 24 hours',
- 'disable_visit_edit_24h_desc' => 'If enabled, visits cannot be edited 24 hours after their creation.',
- 'details' => 'Details',
- 'vitals' => 'Vitals',
- 'symptoms_diagnosis' => 'Symptoms & Diagnosis',
- 'treatment_plan' => 'Treatment Plan',
- 'prescriptions' => 'Prescriptions',
- 'weight' => 'Weight',
- 'blood_pressure' => 'Blood Pressure',
- 'heart_rate' => 'Heart Rate',
- 'temperature' => 'Temperature',
- 'symptoms' => 'Symptoms',
- 'diagnosis' => 'Diagnosis',
- 'drug_name' => 'Drug Name',
- 'dosage' => 'Dosage',
- 'instructions' => 'Instructions',
- 'add_drug' => 'Add Drug',
- 'nursing_notes' => 'Nursing Notes',
+ 'settings_updated_successfully' => 'تم تحديث الإعدادات بنجاح.',
+ 'company_details' => 'تفاصيل الشركة',
+ 'company_name' => 'اسم الشركة',
+ 'company_email' => 'البريد الإلكتروني للشركة',
+ 'company_phone' => 'هاتف الشركة',
+ 'company_address' => 'عنوان الشركة',
+ 'ctr_no' => 'رقم السجل التجاري',
+ 'registration_no' => 'رقم التسجيل',
+ 'vat_no' => 'الرقم الضريبي',
+ 'timezone' => 'المنطقة الزمنية',
+ 'working_hours_start' => 'بداية ساعات العمل',
+ 'working_hours_end' => 'نهاية ساعات العمل',
+ 'currency_settings' => 'إعدادات العملة',
+ 'currency_symbol' => 'رمز العملة',
+ 'decimal_digits' => 'الخانات العشرية',
+ 'company_logo' => 'شعار الشركة',
+ 'company_favicon' => 'أيقونة الشركة',
+ 'civil_id' => 'الرقم المدني',
+ 'nationality' => 'الجنسية',
+ 'dob' => 'تاريخ الميلاد',
+ 'gender' => 'الجنس',
+ 'blood_group' => 'فصيلة الدم',
+ 'insurance_company' => 'شركة التأمين',
+ 'address' => 'العنوان',
+ 'male' => 'ذكر',
+ 'female' => 'أنثى',
+ 'other' => 'أخرى',
+ 'edit_patient' => 'تعديل بيانات المريض',
+ 'delete_patient' => 'حذف المريض',
+ 'confirm_delete' => 'هل أنت متأكد أنك تريد الحذف',
+ 'add_doctor' => 'إضافة طبيب',
+ 'edit_doctor' => 'تعديل بيانات الطبيب',
+ 'specialization_en' => 'التخصص (إنجليزي)',
+ 'specialization_ar' => 'التخصص (عربي)',
+ 'hr_management' => 'الموارد البشرية',
+ 'attendance' => 'الحضور والانصراف',
+ 'leave_requests' => 'طلبات الإجازة',
+ 'add_employee' => 'إضافة موظف',
+ 'edit_employee' => 'تعديل بيانات الموظف',
+ 'delete_employee' => 'حذف الموظف',
+ 'select_position' => 'اختر الوظيفة',
+ 'no_employees_found' => 'لا يوجد موظفين',
+ 'visit_settings' => 'إعدادات الزيارة',
+ 'disable_visit_edit_24h' => 'منع تعديل الزيارات بعد 24 ساعة',
+ 'disable_visit_edit_24h_desc' => 'إذا تم التفعيل، لن يمكن تعديل الزيارة بعد 24 ساعة من إنشائها.',
+ 'details' => 'التفاصيل',
+ 'vitals' => 'العلامات الحيوية',
+ 'symptoms_diagnosis' => 'الأعراض والتشخيص',
+ 'treatment_plan' => 'خطة العلاج',
+ 'prescriptions' => 'الوصفات الطبية',
+ 'weight' => 'الوزن',
+ 'blood_pressure' => 'ضغط الدم',
+ 'heart_rate' => 'معدل ضربات القلب',
+ 'temperature' => 'درجة الحرارة',
+ 'symptoms' => 'الأعراض',
+ 'diagnosis' => 'التشخيص',
+ 'drug_name' => 'اسم الدواء',
+ 'dosage' => 'الجرعة',
+ 'instructions' => 'التعليمات',
+ 'add_drug' => 'إضافة دواء',
+ 'nursing_notes' => 'ملاحظات التمريض',
'issue_new_token' => 'Issue New Token',
'select_patient' => 'Select Patient',
'showing_last_50_patients' => 'Showing last 50 registered patients',
@@ -934,6 +976,48 @@ $translations = array (
'none' => 'بدون',
'ssl' => 'SSL',
'tls' => 'TLS',
- 'room_number' => 'رقم الغرفة'
+ 'room_number' => 'رقم الغرفة',
+ 'hr_dashboard' => 'لوحة معلومات الموارد البشرية',
+ 'attendance_logs' => 'سجلات الحضور',
+ 'total_employees' => 'إجمالي الموظفين',
+ 'present_today' => 'حاضر اليوم',
+ 'on_leave_today' => 'في إجازة اليوم',
+ 'pending_requests' => 'الطلبات المعلقة',
+ 'recent_attendance_logs' => 'سجلات الحضور الحديثة',
+ 'employee' => 'الموظف',
+ 'source' => 'المصدر',
+ 'no_logs_today' => 'لا توجد سجلات اليوم',
+ 'simulate_biometric_device_push' => 'محاكاة دفع جهاز البصمة',
+ 'employee_id' => 'معرف الموظف',
+ 'check_in' => 'تسجيل الدخول',
+ 'check_out' => 'تسجيل الخروج',
+ 'simulate_push' => 'محاكاة الدفع',
+ 'manual_entry' => 'إدخال يدوي',
+ 'all_employees' => 'جميع الموظفين',
+ 'id' => 'المعرف',
+ 'no_logs_found' => 'لا توجد سجلات',
+ 'add_attendance_log' => 'إضافة سجل حضور',
+ 'check_in_time' => 'وقت تسجيل الدخول',
+ 'check_out_time' => 'وقت تسجيل الخروج',
+ 'present' => 'حاضر',
+ 'late' => 'متأخر',
+ 'absent' => 'غائب',
+ 'on_leave' => 'في إجازة',
+ 'new_request' => 'طلب جديد',
+ 'approved' => 'موافق عليه',
+ 'rejected' => 'مرفوض',
+ 'duration' => 'المدة',
+ 'days' => 'الأيام',
+ 'no_requests_found' => 'لا توجد طلبات',
+ 'request_leave' => 'طلب إجازة',
+ 'leave_type' => 'نوع الإجازة',
+ 'annual' => 'سنوية',
+ 'sick' => 'مرضية',
+ 'casual' => 'عارضة',
+ 'unpaid' => 'غير مدفوعة',
+ 'submit' => 'إرسال',
+ 'approve' => 'موافقة',
+ 'reject' => 'رفض',
+ 'confirm_delete_request' => 'هل أنت متأكد من حذف هذا الطلب؟'
)
);
diff --git a/queue_display.php b/queue_display.php
index 1140adf..57be337 100644
--- a/queue_display.php
+++ b/queue_display.php
@@ -16,7 +16,7 @@ try {
}
?>
-
+