diff --git a/controllers/patient.controller.js b/controllers/patient.controller.js index 2021378..089a21a 100644 --- a/controllers/patient.controller.js +++ b/controllers/patient.controller.js @@ -461,7 +461,8 @@ function movePatientToWaitingRoom(req, res) { ` UPDATE patients SET waiting_room = 1, - discharged = 0 + discharged = 0, + status = 'waiting' WHERE id = ? `, [patientId], diff --git a/views/dashboard.ejs b/views/dashboard.ejs index d8855ed..6c4a80c 100644 --- a/views/dashboard.ejs +++ b/views/dashboard.ejs @@ -2,107 +2,245 @@
-