Difference between revisions of "acc-wknd"
From MGH Learn Pathology
Line 11: | Line 11: | ||
<td colspan="1"> | <td colspan="1"> | ||
<table class='scheduletable'><tr><td bgcolor="#FFFFFF"><center>'''{{ColorText|{{#tip-text:ATT|Attending}}||#000000|}}'''</center></td></tr></table> | <table class='scheduletable'><tr><td bgcolor="#FFFFFF"><center>'''{{ColorText|{{#tip-text:ATT|Attending}}||#000000|}}'''</center></td></tr></table> | ||
− | {{#arraymap: AUT,BR1,BR2,BST,CV,DPA,DPB,DPC,EYE,HN1,HN2,GI1,GI2,GI3,GI4,GUL,GUS,GYL,GYS,HPA,HPB,NP,OB,PP,RP| | + | {{#arraymap: AUT,AEAAAA;BR1,FF7E46;BR2,FF7E46;BST,E2EFDA;CV,7AD062;DPA,EDB1FF;DPB,EDB1FF;DPC,EDB1FF;EYE,FFFFFF;HN1,04E489;HN2,04E489;GI1,FFC30F;GI2,FFC30F;GI3,FFC30F;GI4,FFC30F;GUL,4FA4FF;GUS,4FA4FF;GYL,CD5EB6;GYS,CD5EB6;HPA,92E2AF;HPB,92E2AF;NP,FCE4D6;OB,CD5EB6;PP,7AD062;RP,FFFF8D;|;|TaskAbbreviation| |
{{#cargo_query: table=scheduleFACservice | {{#cargo_query: table=scheduleFACservice | ||
|fields=GROUP_CONCAT(scheduleFACservice.StaffAbbrev),scheduleFACservice.Color,GROUP_CONCAT(scheduleFACservice.StaffFullName) | |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='TaskAbbreviation' AND scheduleFACservice.DayNumber='6' AND scheduleFACservice.WeekNumber='{{#expr: {{#time: W|{{Timezone}}}} + 0}}' | |where=YEAR(Date)={{#time: Y|{{Timezone}}}} AND scheduleFACservice.TaskAbbrev='TaskAbbreviation' AND scheduleFACservice.DayNumber='6' AND scheduleFACservice.WeekNumber='{{#expr: {{#time: W|{{Timezone}}}} + 0}}' | ||
− | |default={{: | + | |default={{schtableempty|{{#explode:TaskAbbreviation|,|1}}}}|format=template|template=schtable}} |
|}} | |}} | ||
</td> | </td> | ||
<td colspan="1"> | <td colspan="1"> | ||
<table class='scheduletable'><tr><td bgcolor="#FFFFFF"><center>'''{{ColorText|{{#tip-text:ATT|Attending}}||#000000|}}'''</center></td></tr></table> | <table class='scheduletable'><tr><td bgcolor="#FFFFFF"><center>'''{{ColorText|{{#tip-text:ATT|Attending}}||#000000|}}'''</center></td></tr></table> | ||
− | {{#arraymap: AUT,BR1,BR2,BST,CV,DPA,DPB,DPC,EYE,HN1,HN2,GI1,GI2,GI3,GI4,GUL,GUS,GYL,GYS,HPA,HPB,NP,OB,PP,RP| | + | {{#arraymap: AUT,AEAAAA;BR1,FF7E46;BR2,FF7E46;BST,E2EFDA;CV,7AD062;DPA,EDB1FF;DPB,EDB1FF;DPC,EDB1FF;EYE,FFFFFF;HN1,04E489;HN2,04E489;GI1,FFC30F;GI2,FFC30F;GI3,FFC30F;GI4,FFC30F;GUL,4FA4FF;GUS,4FA4FF;GYL,CD5EB6;GYS,CD5EB6;HPA,92E2AF;HPB,92E2AF;NP,FCE4D6;OB,CD5EB6;PP,7AD062;RP,FFFF8D;|;|TaskAbbreviation| |
{{#cargo_query: table=scheduleFACservice | {{#cargo_query: table=scheduleFACservice | ||
|fields=GROUP_CONCAT(scheduleFACservice.StaffAbbrev),scheduleFACservice.Color,GROUP_CONCAT(scheduleFACservice.StaffFullName) | |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='TaskAbbreviation' AND scheduleFACservice.DayNumber='7' AND scheduleFACservice.WeekNumber='{{#expr: {{#time: W|{{Timezone}}}} + 0}}' | |where=YEAR(Date)={{#time: Y|{{Timezone}}}} AND scheduleFACservice.TaskAbbrev='TaskAbbreviation' AND scheduleFACservice.DayNumber='7' AND scheduleFACservice.WeekNumber='{{#expr: {{#time: W|{{Timezone}}}} + 0}}' | ||
− | |default={{: | + | |default={{schtableempty|{{#explode:TaskAbbreviation|,|1}}}}|format=template|template=schtable}} |
|}} | |}} | ||
</td> | </td> | ||
</tr> | </tr> | ||
</table> | </table> |
Revision as of 08:32, October 5, 2020
Jan 18 |
Jan 19 |
||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|