From 20560b32f5a4f8fdb9fb5a9daa6943951e50f1a9 Mon Sep 17 00:00:00 2001
From: Anantaya Yaowarit <65160130@go.buu.ac.th>
Date: Fri, 21 Mar 2025 20:57:57 +0700
Subject: [PATCH] =?UTF-8?q?=E0=B8=82=E0=B9=89=E0=B8=AD=E0=B8=84=E0=B8=A7?=
 =?UTF-8?q?=E0=B8=B2=E0=B8=A1=E0=B9=80=E0=B8=81=E0=B8=B5=E0=B9=88=E0=B8=A2?=
 =?UTF-8?q?=E0=B8=A7=E0=B8=81=E0=B8=B1=E0=B8=9A=E0=B8=81=E0=B8=B2=E0=B8=A3?=
 =?UTF-8?q?=E0=B9=80=E0=B8=9B=E0=B8=A5=E0=B8=B5=E0=B9=88=E0=B8=A2=E0=B8=99?=
 =?UTF-8?q?=E0=B9=81=E0=B8=9B=E0=B8=A5=E0=B8=87?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 controllers/DentistController.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/controllers/DentistController.js b/controllers/DentistController.js
index 2053836..755d249 100644
--- a/controllers/DentistController.js
+++ b/controllers/DentistController.js
@@ -31,7 +31,7 @@ class DentistController {
 
             if (!treatmentHistory || treatmentHistory.length === 0) {
                 console.log('No treatment history found.');
-                return res.render('treatmentHistory', { 
+                return res.render('treatmenthistory', { 
                     message: "ไม่พบการรักษา", 
                     patientId,
                     treatmentHistory:[] // สำหรับประวัติการรักษาเมื่อไม่พบข้อมูล
-- 
GitLab