Difference between revisions of "acc-todayha"
From MGH Learn Pathology
Line 2: | Line 2: | ||
<tr> | <tr> | ||
<td class='align-bottom' colspan="3"> | <td class='align-bottom' colspan="3"> | ||
− | <center>{{#cargo_query: tables=scheduleFACservice |fields=scheduleFACservice.Date |where=scheduleFACservice.WeekNumber='{{#expr: {{#time: W|{{Timezone}}}} {{{1|}}} {{{2|}}} }}' AND scheduleFACservice.DayNumber='{{#expr: {{#time: N|{{Timezone}}}} {{{3|}}} {{{4|}}}}}' AND scheduleFACservice.TaskAbbrev='BR1' |format=template|template=datedisplaycurrent}}<p></p></center> | + | <center>{{#cargo_query: tables=scheduleFACservice |fields=scheduleFACservice.Date |where=YEAR(Date)={{#time: Y|{{Timezone}}}} AND scheduleFACservice.WeekNumber='{{#expr: {{#time: W|{{Timezone}}}} {{{1|}}} {{{2|}}} }}' AND scheduleFACservice.DayNumber='{{#expr: {{#time: N|{{Timezone}}}} {{{3|}}} {{{4|}}}}}' AND scheduleFACservice.TaskAbbrev='BR1' |format=template|template=datedisplaycurrent}}<p></p></center> |
</td> | </td> | ||
</tr> | </tr> | ||
Line 29: | Line 29: | ||
{{#cargo_query: table=scheduleFACservice | {{#cargo_query: table=scheduleFACservice | ||
|fields=scheduleFACservice.StaffAbbrev,scheduleFACservice.Color,scheduleFACservice.StaffFullName | |fields=scheduleFACservice.StaffAbbrev,scheduleFACservice.Color,scheduleFACservice.StaffFullName | ||
− | |where=scheduleFACservice.TaskAbbrev='TaskAbbreviation' AND scheduleFACservice.DayNumber='{{#expr: {{#time: N|{{Timezone}}}} + 0}}' AND scheduleFACservice.WeekNumber='{{#expr: {{#time: W|{{Timezone}}}} + 0}}' | + | |where=YEAR(Date)={{#time: Y|{{Timezone}}}} AND scheduleFACservice.TaskAbbrev='TaskAbbreviation' AND scheduleFACservice.DayNumber='{{#expr: {{#time: N|{{Timezone}}}} + 0}}' AND scheduleFACservice.WeekNumber='{{#expr: {{#time: W|{{Timezone}}}} + 0}}' |
|default={{:schtableempty}}|format=template|template=schtable}} | |default={{:schtableempty}}|format=template|template=schtable}} | ||
|}} | |}} |
Revision as of 06:10, June 25, 2020
Jan 16Thursday Jan 16 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|