Difference between revisions of "learn:schedule-nextweek"
From MGH Learn Pathology
Line 132: | Line 132: | ||
{{#cargo_query: tables=scheduleRESservice,residentMGH | {{#cargo_query: tables=scheduleRESservice,residentMGH | ||
|join on=scheduleRESservice.ResAbbrev=residentMGH.copath_id | |join on=scheduleRESservice.ResAbbrev=residentMGH.copath_id | ||
− | |fields=GROUP_CONCAT(scheduleRESservice.ResAbbrev),scheduleRESservice.Color,GROUP_CONCAT(residentMGH.full_name) | + | |fields=GROUP_CONCAT(DISTINCT scheduleRESservice.ResAbbrev),scheduleRESservice.Color,GROUP_CONCAT(DISTINCT residentMGH.full_name) |
− | |group by= | + | |group by=scheduleRESservice.WeekNumber |
|where=YEAR(Date)={{#time: Y|{{Timezone}}}} AND scheduleRESservice.WeekNumber='{{#expr: {{#time: W|{{Timezone}}}} + 1 }}' AND scheduleRESservice.TaskAbbrev='{{#explode:TaskAbbreviation|,|0}}'|default={{schtableempty|{{#explode:TaskAbbreviation|,|1}}}}|format=template|template=schtableres}} | |where=YEAR(Date)={{#time: Y|{{Timezone}}}} AND scheduleRESservice.WeekNumber='{{#expr: {{#time: W|{{Timezone}}}} + 1 }}' AND scheduleRESservice.TaskAbbrev='{{#explode:TaskAbbreviation|,|0}}'|default={{schtableempty|{{#explode:TaskAbbreviation|,|1}}}}|format=template|template=schtableres}} | ||
|}} | |}} |
Revision as of 15:31, July 30, 2020
Jan 20 Jan 20 |
Jan 21 Jan 21 |
Jan 22 Jan 22 |
Jan 23 Jan 23 |
Jan 24 Jan 24 |
Jan 25 |
Jan 26 |
||||||||||||||
|
|
|
|
|
|
|
|
|
Friday |
|
Jan 20Monday Jan 20 |
Jan 21Tuesday Jan 21 |
Jan 22Wednesday Jan 22 |
Jan 23Thursday Jan 23 |
Jan 24Friday Jan 24 |
Jan 25 |
Jan 26 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|