Difference between revisions of "weekend-ha"
From MGH Learn Pathology
Line 11: | Line 11: | ||
<td style="width: 50%"> | <td style="width: 50%"> | ||
<table class='scheduletable'><tr><td bgcolor="#FFFFFF"><center>'''{{ColorText|{{#tip-text:Attending|Attending}}||#000000|}}'''</center></td></tr></table> | <table class='scheduletable'><tr><td bgcolor="#FFFFFF"><center>'''{{ColorText|{{#tip-text:Attending|Attending}}||#000000|}}'''</center></td></tr></table> | ||
− | {{#arraymap: AUT, | + | {{#arraymap: AUT,BR1,BR2,BST,CV,CA,CB,CC,DPA,DPB,DPC,Frozen Section,HN1,HN2,GI1,GI2,GI3,GUL,GUS,GYL,GYS,HPA,HPB,NP,OB,PP,RP|,|TaskAbbreviation| |
{{#cargo_query: table=scheduleFACservice | {{#cargo_query: table=scheduleFACservice | ||
− | |fields= | + | |fields=scheduleFACservice.StaffAbbrev,scheduleFACservice.Color,scheduleFACservice.StaffFullName |
− | + | |where=YEAR(Date)={{#time: Y|{{Timezone}}}} AND scheduleFACservice.TaskAbbrev='TaskAbbreviation' AND scheduleFACservice.DayNumber='6' AND scheduleFACservice.WeekNumber='{{#expr: {{#time: W|{{Timezone}}}} + 0}}' | |
− | |where=YEAR(Date)={{#time: Y|{{Timezone}}}} AND scheduleFACservice.TaskAbbrev=' | + | |default={{:schtableempty}}|format=template|template=schtable}} |
− | |default={{schtableempty | + | |}} |
− | |} | ||
</td> | </td> | ||
<td style="width: 50%"> | <td style="width: 50%"> | ||
<table class='scheduletable'><tr><td bgcolor="#FFFFFF"><center>'''{{ColorText|{{#tip-text:Attending|Attending}}||#000000|}}'''</center></td></tr></table> | <table class='scheduletable'><tr><td bgcolor="#FFFFFF"><center>'''{{ColorText|{{#tip-text:Attending|Attending}}||#000000|}}'''</center></td></tr></table> | ||
− | {{#arraymap: AUT, | + | {{#arraymap: AUT,BR1,BR2,BST,CV,CA,CB,CC,DPA,DPB,DPC,Frozen Section,HN1,HN2,GI1,GI2,GI3,GUL,GUS,GYL,GYS,HPA,HPB,NP,OB,PP,RP|,|TaskAbbreviation| |
{{#cargo_query: table=scheduleFACservice | {{#cargo_query: table=scheduleFACservice | ||
− | |fields= | + | |fields=scheduleFACservice.StaffAbbrev,scheduleFACservice.Color,scheduleFACservice.StaffFullName |
− | + | |where=YEAR(Date)={{#time: Y|{{Timezone}}}} AND scheduleFACservice.TaskAbbrev='TaskAbbreviation' AND scheduleFACservice.DayNumber='7' AND scheduleFACservice.WeekNumber='{{#expr: {{#time: W|{{Timezone}}}} + 0}}' | |
− | |where=YEAR(Date)={{#time: Y|{{Timezone}}}} AND scheduleFACservice.TaskAbbrev=' | + | |default={{:schtableempty}}|format=template|template=schtable}} |
− | |default={{schtableempty | + | |}} |
− | |} | ||
</td> | </td> | ||
</tr> | </tr> | ||
</table> | </table> |