From 4cd55788e9d6a55d0825a7c2f26926073e2327ec Mon Sep 17 00:00:00 2001 From: Akshay010203 <92329718+Akshay010203@users.noreply.github.com> Date: Sat, 28 Jan 2023 12:43:03 +0530 Subject: [PATCH 1/2] Date validation added --- .../templates/phcModule/appointment.html | 457 +++++++++--------- 1 file changed, 221 insertions(+), 236 deletions(-) diff --git a/FusionIIIT/templates/phcModule/appointment.html b/FusionIIIT/templates/phcModule/appointment.html index ad4688902..71f0d6536 100755 --- a/FusionIIIT/templates/phcModule/appointment.html +++ b/FusionIIIT/templates/phcModule/appointment.html @@ -1,243 +1,228 @@ {% load static %} {% block appointment %} - {% comment %}the main tab starts here {% endcomment %} - - - {% comment %}the doctor appointment tab starts here {% endcomment %} -
-
-
{% csrf_token %} - -
- - -
-
- - - - - -

- - -

- - -

- - - - -
- - -
-

-
- -
-
- -
- - -
- -
- -
-
- - - -
-
+{% comment %}the main tab starts here {% endcomment %} + + + +{% comment %}the doctor appointment tab starts here {% endcomment %} +
+
+
{% csrf_token %} +
+ + +
+
+ + + + + +

+ + + +

+ + +

+
+ +
+

+
+
-
-
- -
- {% comment %}the doctor appointment tab ends here {% endcomment %} - - {% comment %}the ambulance appointment tab starts here {% endcomment %} -
-
- {% csrf_token %} -
-
- - -

- -
-
- - - -

- - -
-
- - -
- -
- -

-
-
- -
- -
- -
-
- - - -
-
+
+ +
+ + +
+
-
-
-
+
+ + + +
+
+
+
+
+
+{% comment %}the doctor appointment tab ends here {% endcomment %} + +{% comment %}the ambulance appointment tab starts here {% endcomment %} +
+
+
{% csrf_token %} +
+
+ + +

- {% comment %}the ambulance appointment tab ends here {% endcomment %} +
+
+ + +

+
+
+
+ +
+ +

+
+
+ +
+ +
+ +
+
+
+ +
+
+
+
+
+
+{% comment %}the ambulance appointment tab ends here {% endcomment %} {% endblock %} \ No newline at end of file From f46b3626e47f802ef83b9d6fbde0cf91fa02bc56 Mon Sep 17 00:00:00 2001 From: Akshay010203 <92329718+Akshay010203@users.noreply.github.com> Date: Fri, 3 Feb 2023 18:09:07 +0530 Subject: [PATCH 2/2] Date Validation for booking ambulance --- .../templates/phcModule/appointment.html | 38 ++++++++++++++++--- 1 file changed, 32 insertions(+), 6 deletions(-) diff --git a/FusionIIIT/templates/phcModule/appointment.html b/FusionIIIT/templates/phcModule/appointment.html index 71f0d6536..e0a9a52d5 100755 --- a/FusionIIIT/templates/phcModule/appointment.html +++ b/FusionIIIT/templates/phcModule/appointment.html @@ -41,7 +41,6 @@ if(day < 10) day = '0' + day.toString(); var maxDate = year + '-' + month + '-' + day; - alert(maxDate); $('#inputdate').attr('min', maxDate); }); @@ -130,14 +129,41 @@
- -

- + + +

- -

+ + +