Widget:VisitSchedulerRedux: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
Line 80: Line 80:
function validateConstraints(){
function validateConstraints(){
var errorFlag = false;
var errorFlag = false;
if($( "#visitTime-1" ).length){
var splitTime = $( "#indexEventTime" ).val().split(":");
var splitTime = $( "#indexEventTime" ).val().split(":");
var hours = splitTime[0]*60*60*1000;
var hours = splitTime[0]*60*60*1000;
Line 109: Line 109:


if(errorFlag){alert("Visits in red fall out of the 30 day window and infusions may not be scheduled on those dates. For help with this matter, call the AEGIS II Hotline");}
if(errorFlag){alert("Visits in red fall out of the 30 day window and infusions may not be scheduled on those dates. For help with this matter, call the AEGIS II Hotline");}
};
}};
$("#print").click(function(){
$("#print").click(function(){
var newWin = window.open("");
var newWin = window.open("");

Revision as of 12:03, 31 January 2019