Difference between revisions of "acc-schedule"
From MGH Learn Pathology
Line 11: | Line 11: | ||
</td> | </td> | ||
<td> | <td> | ||
− | {{:acc- | + | <table class='table borderless'> |
+ | <tr> | ||
+ | <td colspan="1"> | ||
+ | | ||
+ | </td> | ||
+ | <td class='align-bottom' colspan="1"> | ||
+ | <center>{{#cargo_query: tables=scheduleFACservice |fields=scheduleFACservice.Date |where=scheduleFACservice.DayNumber='6' AND scheduleFACservice.WeekNumber='{{#expr: {{#time: W|{{Timezone}}}} + 0 }}' AND scheduleFACservice.TaskAbbrev='BR1' |format=template|template=datedisplaycurrent}}<p></p></center> | ||
+ | </td> | ||
+ | <td class='align-bottom' colspan="1"> | ||
+ | <center>{{#cargo_query: tables=scheduleFACservice |fields=scheduleFACservice.Date |where=scheduleFACservice.DayNumber='7' AND scheduleFACservice.WeekNumber='{{#expr: {{#time: W|{{Timezone}}}} + 0 }}' AND scheduleFACservice.TaskAbbrev='BR1' |format=template|template=datedisplaycurrent}}<p></p></center> | ||
+ | </td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td style="width: 20%"> | ||
+ | <table class='scheduletable'><tr><td bgcolor="#FFFFFF"><center>{{ColorText|'''Service'''||#000000|}}</center></td></tr></table> | ||
+ | {{:schtablemobile3}} | ||
+ | </td> | ||
+ | <td style="width: 40%"> | ||
+ | <table class='scheduletable'><tr><td bgcolor="#FFFFFF"><center>'''{{ColorText|{{#tip-text:A|Attending}}||#000000|}}'''</center></td></tr></table> | ||
+ | {{#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 | ||
+ | |fields=scheduleFACservice.StaffAbbrev,scheduleFACservice.Color,scheduleFACservice.StaffFullName | ||
+ | |where=scheduleFACservice.TaskAbbrev='TaskAbbreviation' AND scheduleFACservice.DayNumber='6' AND scheduleFACservice.WeekNumber='{{#expr: {{#time: W|{{Timezone}}}} + 0}}' | ||
+ | |default={{:schtableempty}}|format=template|template=schtable}} | ||
+ | |}} | ||
+ | </td> | ||
+ | <td style="width: 40%"> | ||
+ | <table class='scheduletable'><tr><td bgcolor="#FFFFFF"><center>'''{{ColorText|{{#tip-text:A |Attending}}||#000000|}} '''({{#cargo_query: tables=scheduleFACservice |fields=scheduleFACservice.Date |where=scheduleFACservice.DayNumber='1' AND scheduleFACservice.WeekNumber='{{#expr: {{#time: W|{{Timezone}}}} + 1 }}' AND scheduleFACservice.TaskAbbrev='BR1' |format=template|template=acc-datedisplay}})</center></td></tr></table> | ||
+ | {{#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 | ||
+ | |fields=scheduleFACservice.StaffAbbrev,scheduleFACservice.Color,scheduleFACservice.StaffFullName | ||
+ | |where=scheduleFACservice.TaskAbbrev='TaskAbbreviation' AND scheduleFACservice.DayNumber='1' AND scheduleFACservice.WeekNumber='{{#expr: {{#time: W|{{Timezone}}}} + 1}}' | ||
+ | |default={{:schtableempty}}|format=template|template=schtable}} | ||
+ | |}} | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | |||
</td> | </td> | ||
</tr> | </tr> | ||
</table> | </table> |