[edit] batch added on click on date

et#27
tribikram 2 years ago committed by Mahesh Sharma
parent 98fb64971a
commit f5be1c14a7
  1. 11
      resources/views/appointment.blade.php

@ -152,7 +152,7 @@
});
$calender.on('zabuto:calendar:day', function (e) {
var now = new Date();
var date = e.date;
//get available time for selected date
@ -173,6 +173,15 @@
}
});
if (e.today) {
$(e.element).css('color', 'blue');
} else if (e.date.getTime() < now.getTime()) {
$(e.element).html('<span class="badge bg-danger">'+ e.date.getDate() +'</span>');
} else {
$(e.element).html('<span class="badge bg-success">'+ e.date.getDate() +'</span>');
}
})
}
function dispalyAppointments(appointments,formated_date,id) {

Loading…
Cancel
Save