Widget:VisitSchedulerRedux: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
Line 15: Line 15:
$( "#indexEvent" ).change(function(){
$( "#indexEvent" ).change(function(){
$( "#appointments" ).html("<tr><th>Visit Number</th><th>Visit Date</th><th>Visit Time</th><th>Delayed Infusion?</th><th>Visit Description</th></tr>");
$( "#appointments" ).html("<tr><th>Visit Number</th><th>Visit Date</th><th>Visit Time</th><th>Delayed Infusion?</th><th>Visit Description</th></tr>");
$( "#appointments" ).css('visibility','visible');
$( "#appointments, #save, #print" ).css('visibility','visible');
var schedule = visitSchedule($("patientID").val(),$("#assigned").val(),new Date($( "#indexEvent" ).val()));
var schedule = visitSchedule($("patientID").val(),$("#assigned").val(),new Date($( "#indexEvent" ).val()));
});
});
Line 154: Line 154:
</div>
</div>
<div style="position:relative; float:right; width:80%;">
<div style="position:relative; float:right; width:80%;">
<table id="appointments">
<table id="appointments" style="visibility:hidden;">
</table>
</table>
<input type="button" id="print" value="Print" />
<input type="button" id="print" style="visibility:hidden;" value="Print" />
<input type="button" id="save" value="Save to Outlook" />
<input type="button" id="save" style="visibility:hidden;" value="Save to Outlook" />
</div>
</div>
</form>
</form>
</div>
</div>
</includeonly>
</includeonly>

Revision as of 13:27, 31 January 2019