From ff8887b6e85c223c82f5972a56246fcd8614caad Mon Sep 17 00:00:00 2001 From: Nguyen Son <152074875+thson58@users.noreply.github.com> Date: Thu, 7 Mar 2024 14:28:05 +0700 Subject: [PATCH 1/4] fix add customer --- .../jsp/management/customer/add-customer.jsp | 66 ++++++++++++++++--- 1 file changed, 56 insertions(+), 10 deletions(-) diff --git a/src/main/webapp/view/jsp/management/customer/add-customer.jsp b/src/main/webapp/view/jsp/management/customer/add-customer.jsp index 7bb9264..0697a8d 100644 --- a/src/main/webapp/view/jsp/management/customer/add-customer.jsp +++ b/src/main/webapp/view/jsp/management/customer/add-customer.jsp @@ -12,9 +12,9 @@ - - - + + + @@ -36,20 +36,50 @@

Thêm khách hàng mới

-
+
-
+
+ +
+ + +
+
-
+
+ +
+ + +
+
-
-
- - Quay lại +
+ +
+ + +
+
+
+ +
+ + +
+
@@ -68,7 +98,23 @@ + + + \ No newline at end of file From c79e35cf4b4edd0b35d40f7a30a61549d423dfa4 Mon Sep 17 00:00:00 2001 From: Nguyen Son <152074875+thson58@users.noreply.github.com> Date: Sun, 10 Mar 2024 14:36:17 +0700 Subject: [PATCH 2/4] =?UTF-8?q?=C4=91=E1=BB=8Ba=20ch=E1=BB=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/webapp/view/jsp/management/customer/add-customer.jsp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/webapp/view/jsp/management/customer/add-customer.jsp b/src/main/webapp/view/jsp/management/customer/add-customer.jsp index 0697a8d..2813d0c 100644 --- a/src/main/webapp/view/jsp/management/customer/add-customer.jsp +++ b/src/main/webapp/view/jsp/management/customer/add-customer.jsp @@ -108,7 +108,7 @@ rules: [ Validator.isRequired('#name-customer', 'Vui lòng nhập tên khách hàng!'), Validator.isRequired('#code-customer', 'Vui lòng nhập mã khách hàng!'), - Validator.isRequired('#address-customer', 'Vui lòng nhập mã khách hàng!'), + Validator.isRequired('#address-customer', 'Vui lòng nhập địa chỉ khách hàng!'), Validator.isRequired('#email-customer', 'Vui lòng nhập mã khách hàng!') From 7596231301962ae0fd7be14252210e6e2b1e1856 Mon Sep 17 00:00:00 2001 From: Nguyen Son <152074875+thson58@users.noreply.github.com> Date: Sun, 10 Mar 2024 14:39:17 +0700 Subject: [PATCH 3/4] email --- src/main/webapp/view/jsp/management/customer/add-customer.jsp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/webapp/view/jsp/management/customer/add-customer.jsp b/src/main/webapp/view/jsp/management/customer/add-customer.jsp index 2813d0c..a3439ab 100644 --- a/src/main/webapp/view/jsp/management/customer/add-customer.jsp +++ b/src/main/webapp/view/jsp/management/customer/add-customer.jsp @@ -109,7 +109,7 @@ Validator.isRequired('#name-customer', 'Vui lòng nhập tên khách hàng!'), Validator.isRequired('#code-customer', 'Vui lòng nhập mã khách hàng!'), Validator.isRequired('#address-customer', 'Vui lòng nhập địa chỉ khách hàng!'), - Validator.isRequired('#email-customer', 'Vui lòng nhập mã khách hàng!') + Validator.isRequired('#email-customer', 'Vui lòng nhập email khách hàng!') ] From a6cd85754b5f38fc9458853e89bbad66e8e7a696 Mon Sep 17 00:00:00 2001 From: Nguyen Son <152074875+thson58@users.noreply.github.com> Date: Sun, 10 Mar 2024 14:57:57 +0700 Subject: [PATCH 4/4] =?UTF-8?q?s=E1=BB=ADa=20th=C3=B4ng=20b=C3=A1o=20null?= =?UTF-8?q?=20:=20=C4=91=E1=BB=8Ba=20ch=E1=BB=89=20,=20email?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../jsp/management/customer/add-customer.jsp | 24 ++++++++++++------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/src/main/webapp/view/jsp/management/customer/add-customer.jsp b/src/main/webapp/view/jsp/management/customer/add-customer.jsp index fa1c6be..036c25e 100644 --- a/src/main/webapp/view/jsp/management/customer/add-customer.jsp +++ b/src/main/webapp/view/jsp/management/customer/add-customer.jsp @@ -69,17 +69,23 @@
- - "> + +
+ +
-
- - +
+
+ +
+ +
+
<% if(error != null) { %>