|
|
Line 33: |
Line 33: |
| </td> | | </td> |
| <td style="width: 14%"> | | <td style="width: 14%"> |
− | {{#cargo_query: tables=scheduleCallConference,residentMGH | + | {{scheduleNWcall|2|Tuesday}} |
− | |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}}}} + 1 }}' AND scheduleCallConference.DayNumber='2' AND NOT ResAbbrev='-'|default={{:schtableempty}}
| |
− | |format=template|order by = sort ASC|template=schtableconfcallLeft}}
| |
| </td> | | </td> |
| <td style="width: 14%"> | | <td style="width: 14%"> |
− | {{#cargo_query: tables=scheduleCallConference,residentMGH | + | {{scheduleNWcall|3|Wednesday}} |
− | |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}}}} + 1 }}' AND scheduleCallConference.DayNumber='3' AND NOT ResAbbrev='-'|default={{:schtableempty}}
| |
− | |format=template|order by = sort ASC|template=schtableconfcallLeft}}
| |
| </td> | | </td> |
| <td style="width: 14%"> | | <td style="width: 14%"> |
− | {{#cargo_query: tables=scheduleCallConference,residentMGH | + | {{scheduleNWcall|4|Thursday}} |
− | |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}}}} + 1 }}' AND scheduleCallConference.DayNumber='4' AND NOT ResAbbrev='-'|default={{:schtableempty}}
| |
− | |format=template|order by = sort ASC|template=schtableconfcallLeft}}
| |
| </td> | | </td> |
| <td style="width: 14%"> | | <td style="width: 14%"> |
− | {{#cargo_query: tables=scheduleCallConference,residentMGH | + | {{scheduleNWcall|5|Friday}} |
− | |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}}}} + 1 }}' AND scheduleCallConference.DayNumber='5' AND NOT ResAbbrev='-'|default={{:schtableempty}}
| |
− | |format=template|order by = sort ASC|template=schtableconfcallLeft}}
| |
| </td> | | </td> |
| <td style="width: 14%"> | | <td style="width: 14%"> |
− | {{#cargo_query: tables=scheduleCallConference,residentMGH | + | {{scheduleNWcall|6|Saturday}} |
− | |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}}}} + 1 }}' AND scheduleCallConference.DayNumber='6' AND NOT ResAbbrev='-'|default={{:schtableempty}}
| |
− | |format=template|order by = sort ASC|template=schtableconfcallLeft}}
| |
| </td> | | </td> |
| <td style="width: 14%"> | | <td style="width: 14%"> |
− | {{#cargo_query: tables=scheduleCallConference,residentMGH | + | {{scheduleNWcall|7|Sunday}} |
− | |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}}}} + 1 }}' AND scheduleCallConference.DayNumber='7' AND NOT ResAbbrev='-'|default={{:schtableempty}}
| |
− | |format=template|order by = sort ASC|template=schtableconfcallLeft}}
| |
| </td> | | </td> |
| </tr> | | </tr> |