[update] Revise medical invoice details and layout. Update patient information, medication entries, and service details in the PDF. Enhance CheckUpPage and MedicineDialog to support supplement tracking and improve user interaction with suggestion popups. Adjust font styles in report templates for consistency.

This commit is contained in:
Lê Thành Đạt committed 2025-07-25 01:23:27 +07:00
1 parent 2504ab3903
commit 87425db642
9 files changed
+66 -49

No files matched your search

@@ -711,7 +711,8 @@ public class ServerHandler extends SimpleChannelInboundHandler<TextWebSocketFram
log.error("Error updating queue counter", e);
throw new RuntimeException(e);
}
// To make it looks better when small number we mod it to 100 so the queue is only 1 to 100
queueNumber = (queueNumber % 100) + 1;
// First query: Insert Checkup
PreparedStatement checkupStmt = Server.connection.prepareStatement(
"INSERT INTO Checkup (customer_id, doctor_id, checkup_type, status, queue_number) VALUES (?, ?, ?, ?, ?)");