Gitlab@Informatics

Skip to content
Snippets Groups Projects
Commit ec651e92 authored by 65160014's avatar 65160014
Browse files

Initial commit

parent 266307da
Branches master
No related tags found
No related merge requests found
...@@ -211,7 +211,8 @@ exports.updateNote = async (req, res) => { ...@@ -211,7 +211,8 @@ exports.updateNote = async (req, res) => {
return res.status(400).send("ไม่พบรหัสการจอง"); return res.status(400).send("ไม่พบรหัสการจอง");
} }
await bookingModel.updateAppointmentNote(appointmentId, note); await bookingModel.updateAppointmentNote(appointmentId, note);
res.redirect('/customer/bookingSummary?id=' + appointmentId); res.redirect('/customer/allAppointments');
// res.redirect('/customer/bookingSummary?id=' + appointmentId);
} catch (error) { } catch (error) {
console.error(error); console.error(error);
res.status(500).send('เกิดข้อผิดพลาดในการอัพเดทหมายเหตุ'); res.status(500).send('เกิดข้อผิดพลาดในการอัพเดทหมายเหตุ');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment