From 8ea2a5855f75439539ced7af8c229ed9d7822fe1 Mon Sep 17 00:00:00 2001 From: tribikram Date: Mon, 13 Feb 2023 16:40:13 +0545 Subject: [PATCH 1/5] [edit] batch added on click on date --- resources/views/appointment.blade.php | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/resources/views/appointment.blade.php b/resources/views/appointment.blade.php index cb9b89f..ef1d0bb 100644 --- a/resources/views/appointment.blade.php +++ b/resources/views/appointment.blade.php @@ -164,7 +164,7 @@ }); $calender.on('zabuto:calendar:day', function (e) { - + var now = new Date(); var date = e.date; //get available time for selected date @@ -185,6 +185,15 @@ } }); + + + if (e.today) { + $(e.element).css('color', 'blue'); + } else if (e.date.getTime() < now.getTime()) { + $(e.element).html(''+ e.date.getDate() +''); + } else { + $(e.element).html(''+ e.date.getDate() +''); + } }) } function dispalyAppointments(appointments,formated_date,id) { -- 2.25.1 From e32445fbb870e9464a3801e2763898f86d2ad4a6 Mon Sep 17 00:00:00 2001 From: tribikram Date: Mon, 13 Feb 2023 17:22:17 +0545 Subject: [PATCH 2/5] [edit] footer target blank removed --- resources/views/layout/app.blade.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/resources/views/layout/app.blade.php b/resources/views/layout/app.blade.php index 905722b..1643068 100644 --- a/resources/views/layout/app.blade.php +++ b/resources/views/layout/app.blade.php @@ -4,6 +4,7 @@ + @yield('title') @@ -186,7 +187,7 @@