Difference between revisions of "scheduleNow"
From MGH Learn Pathology
| Line 55: | Line 55: | ||
{{#arraymap: {{scheduleDictionaryAP}}|;|TaskAbbreviation| | {{#arraymap: {{scheduleDictionaryAP}}|;|TaskAbbreviation| | ||
{{#cargo_query: table=scheduleFACservice | {{#cargo_query: table=scheduleFACservice | ||
| − | |fields=GROUP_CONCAT(scheduleFACservice.StaffAbbrev),scheduleFACservice. | + | |fields=GROUP_CONCAT(scheduleFACservice.StaffAbbrev),scheduleFACservice.Color,GROUP_CONCAT(scheduleFACservice.StaffFullName) |
|group by=scheduleFACservice.Color | |group by=scheduleFACservice.Color | ||
|where=YEAR(Date)={{#time: Y|{{Timezone}}}} AND scheduleFACservice.TaskAbbrev='{{#explode:TaskAbbreviation|,|0}}' AND scheduleFACservice.DayNumber='{{#time:N|now}}' AND scheduleFACservice.WeekNumber='{{#expr: {{#time: W|{{Timezone}}}} - 0}}' | |where=YEAR(Date)={{#time: Y|{{Timezone}}}} AND scheduleFACservice.TaskAbbrev='{{#explode:TaskAbbreviation|,|0}}' AND scheduleFACservice.DayNumber='{{#time:N|now}}' AND scheduleFACservice.WeekNumber='{{#expr: {{#time: W|{{Timezone}}}} - 0}}' | ||
| − | |default={{schtableempty|{{#explode:TaskAbbreviation|,|1}}}}|format=template|template=schtable | + | |default={{schtableempty|{{#explode:TaskAbbreviation|,|1}}}}|format=template|template=schtable}} |
|}} | |}} | ||
<sup>{{ColorText|[1]|||1}}</sup>{{ColorText|Faculty schedule displayed using the <htmltag tagname="a" href="https://app.qgenda.com/Link/view?linkKey=9a12a547-f1b4-4998-bdca-acf3204a120e&landingPageId=40221bd9-4ac1-4a0b-8a00-da4f05d88f2e" target="_blank">QGenda API</htmltag>.|||2}} | <sup>{{ColorText|[1]|||1}}</sup>{{ColorText|Faculty schedule displayed using the <htmltag tagname="a" href="https://app.qgenda.com/Link/view?linkKey=9a12a547-f1b4-4998-bdca-acf3204a120e&landingPageId=40221bd9-4ac1-4a0b-8a00-da4f05d88f2e" target="_blank">QGenda API</htmltag>.|||2}} | ||
Revision as of 22:22, September 5, 2021
|
|
|
|
[1]Faculty schedule displayed using the QGenda API. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||