Difference between revisions of "learn:nextweekinap"

From MGH Learn Pathology
Line 2: Line 2:
  
 
<table class='table borderless'>
 
<table class='table borderless'>
 +
<tr>
 +
<td style="width: 10%">
 +
{{#cargo_query: tables=scheduleCallConference,residentMGH
 +
    |join on=scheduleCallConference.ResAbbrev=residentMGH.copath_id
 +
    |fields=scheduleCallConference.ResAbbrev,scheduleCallConference.Color,residentMGH.full_name,scheduleCallConference.TaskAbbrev,scheduleCallConference.Sort=sort
 +
    |where=YEAR(Date)={{#time: Y|{{Timezone}}}} AND scheduleCallConference.WeekNumber='{{#expr: {{#time: W|{{Timezone}}}} - 0 }}' AND scheduleCallConference.DayNumber='5' AND NOT ResAbbrev='-'|default={{:schtableempty}}
 +
    |format=template|order by = sort ASC|template=schtableconfcallLeft}}
 +
</td>
 +
<td style="width: 10%">
 +
{{#cargo_query: tables=scheduleCallConference,residentMGH
 +
    |join on=scheduleCallConference.ResAbbrev=residentMGH.copath_id
 +
    |fields=scheduleCallConference.ResAbbrev,scheduleCallConference.Color,residentMGH.full_name,scheduleCallConference.TaskAbbrev,scheduleCallConference.Sort=sort
 +
    |where=YEAR(Date)={{#time: Y|{{Timezone}}}} AND scheduleCallConference.WeekNumber='{{#expr: {{#time: W|{{Timezone}}}} - 0 }}' AND scheduleCallConference.DayNumber='6' AND NOT ResAbbrev='-'|default={{:schtableempty}}
 +
    |format=template|order by = sort ASC|template=schtableconfcallLeft}}
 +
</td>
 +
<td style="width: 10%">
 +
{{#cargo_query: tables=scheduleCallConference,residentMGH
 +
    |join on=scheduleCallConference.ResAbbrev=residentMGH.copath_id
 +
    |fields=scheduleCallConference.ResAbbrev,scheduleCallConference.Color,residentMGH.full_name,scheduleCallConference.TaskAbbrev,scheduleCallConference.Sort=sort
 +
    |where=YEAR(Date)={{#time: Y|{{Timezone}}}} AND scheduleCallConference.WeekNumber='{{#expr: {{#time: W|{{Timezone}}}} - 0 }}' AND scheduleCallConference.DayNumber='0' AND NOT ResAbbrev='-'|default={{:schtableempty}}
 +
    |format=template|order by = sort ASC|template=schtableconfcallLeft}}
 +
</td>
 +
<td style="width: 80%">
 +
</td>
 +
</tr>
 
<tr>
 
<tr>
 
<td style="width: 10%">
 
<td style="width: 10%">

Revision as of 09:26, July 17, 2020