From 5f78c2abad37db3ef04b3dbad6cb977582818480 Mon Sep 17 00:00:00 2001 From: Flatlogic Bot Date: Fri, 13 Mar 2026 06:03:11 +0000 Subject: [PATCH] update visits list --- includes/common_data.php | 3 + includes/layout/footer.php | 651 ++++++++++++++++++++++++++++++++++++- lang.php | 8 +- 3 files changed, 657 insertions(+), 5 deletions(-) diff --git a/includes/common_data.php b/includes/common_data.php index 6b31c3d..5c21dcf 100644 --- a/includes/common_data.php +++ b/includes/common_data.php @@ -14,6 +14,9 @@ $all_tests = $db->query("SELECT id, name_$lang as name, price, normal_range FROM $all_xray_groups = $db->query("SELECT id, name_$lang as name FROM xray_groups")->fetchAll(); $all_xrays = $db->query("SELECT id, name_$lang as name, price FROM xray_tests")->fetchAll(); +// Drugs Data +$all_drugs = $db->query("SELECT id, name_$lang as name, default_dosage, default_instructions FROM drugs")->fetchAll(); + $scheduled_appointments = $db->query(" SELECT a.id, p.name as patient_name, a.start_time, a.patient_id, a.doctor_id FROM appointments a diff --git a/includes/layout/footer.php b/includes/layout/footer.php index 9da4384..9542a6e 100644 --- a/includes/layout/footer.php +++ b/includes/layout/footer.php @@ -872,11 +872,382 @@ + + + + + + + + + + + + + + + + + + + + - + \ No newline at end of file diff --git a/lang.php b/lang.php index 9d614b5..aceab68 100644 --- a/lang.php +++ b/lang.php @@ -48,6 +48,7 @@ $translations = [ 'specialization' => 'Specialization', 'visits' => 'Visits', 'new_visit' => 'New Visit', + 'details' => 'Details', 'vitals' => 'Vitals', 'weight' => 'Weight (kg)', 'blood_pressure' => 'Blood Pressure', @@ -55,7 +56,9 @@ $translations = [ 'temperature' => 'Temperature (°C)', 'symptoms' => 'Symptoms', 'diagnosis' => 'Diagnosis', + 'symptoms_diagnosis' => 'Symptoms & Diagnosis', 'treatment_plan' => 'Treatment Plan', + 'treatment_prescription' => 'Treatment & Prescription', 'provisional_reports' => 'Provisional Reports', 'new_report' => 'New Report', 'report_type' => 'Report Type', @@ -328,6 +331,7 @@ $translations = [ 'specialization' => 'التخصص', 'visits' => 'الزيارات', 'new_visit' => 'زيارة جديدة', + 'details' => 'التفاصيل', 'vitals' => 'العلامات الحيوية', 'weight' => 'الوزن (كجم)', 'blood_pressure' => 'ضغط الدم', @@ -335,7 +339,9 @@ $translations = [ 'temperature' => 'درجة الحرارة', 'symptoms' => 'الأعراض', 'diagnosis' => 'التشخيص', + 'symptoms_diagnosis' => 'الأعراض والتشخيص', 'treatment_plan' => 'خطة العلاج', + 'treatment_prescription' => 'العلاج والوصفة الطبية', 'provisional_reports' => 'التقارير المؤقتة', 'new_report' => 'تقرير جديد', 'report_type' => 'نوع التقرير', @@ -538,4 +544,4 @@ $translations = [ 'inactive' => 'غير نشط', 'are_you_sure_delete_service' => 'هل أنت متأكد أنك تريد حذف هذه الخدمة؟', ] -]; \ No newline at end of file +];