Difference between revisions of "learn:oncallschedule"

From MGH Learn Pathology
Line 4: Line 4:
 
<td style="width: 40%">
 
<td style="width: 40%">
 
<table class='scheduletable'><tr><td bgcolor="#f5f5f5"><center>{{ColorText|'''Weekend call resident'''||#000000|}}</center></td></tr></table>
 
<table class='scheduletable'><tr><td bgcolor="#f5f5f5"><center>{{ColorText|'''Weekend call resident'''||#000000|}}</center></td></tr></table>
<center><{{#cargo_query: tables=scheduleCallConference,residentMGH |join on=scheduleCallConference.ResAbbrev=residentMGH.copath_id |fields=scheduleCallConference.ResAbbrev,residentMGH.full_name |where=scheduleCallConference.WeekNumber='{{#expr: {{#time: W|{{Timezone}}}} - 0 }}' AND scheduleCallConference.Year='{{#var:Sunday}}' AND scheduleCallConference.DayNumber='7' AND TaskAbbrev='Call: Senior'|default={{:schtableempty}}|format=template|template=acc-call}}</center>
+
<center>{{#cargo_query: tables=scheduleCallConference,residentMGH |join on=scheduleCallConference.ResAbbrev=residentMGH.copath_id |fields=scheduleCallConference.ResAbbrev,residentMGH.full_name |where=scheduleCallConference.WeekNumber='{{#expr: {{#time: W|{{Timezone}}}} - 0 }}' AND scheduleCallConference.Year='{{#var:Sunday}}' AND scheduleCallConference.DayNumber='7' AND TaskAbbrev='Call: Senior'|default={{:schtableempty}}|format=template|template=acc-call}}</center>
 
</td>
 
</td>
 
<td style="width: 20%">
 
<td style="width: 20%">

Revision as of 10:04, May 30, 2024