Difference between revisions of "EvaluationResAtt"

From MGH Learn Pathology
Line 1: Line 1:
 
__NOCACHE__{{DISPLAYTITLE:{{CURRENTUSERREALNAME}} Evaluation of Attending}}{{#css: table.dataTable tbody tr { background-color: transparent; } }}
 
__NOCACHE__{{DISPLAYTITLE:{{CURRENTUSERREALNAME}} Evaluation of Attending}}{{#css: table.dataTable tbody tr { background-color: transparent; } }}
 +
<table>
 +
<tr>
 +
<td>
 
{{#cargo_query:tables=scheduleRFA,evaluationResAtt
 
{{#cargo_query:tables=scheduleRFA,evaluationResAtt
 
|join on=scheduleRFA.UID=evaluationResAtt.UID
 
|join on=scheduleRFA.UID=evaluationResAtt.UID
Line 11: Line 14:
 
|group by=Week Of
 
|group by=Week Of
 
|format=dynamic table|default=}}
 
|format=dynamic table|default=}}
 +
</td>
 +
<td>
 +
{{#cargo_query:tables=scheduleRFA,evaluationResAtt
 +
|join on=scheduleRFA.UID=evaluationResAtt.UID
 +
|fields=
 +
scheduleRFA.Date=Week Of
 +
,CONCAT('{{schedule-TaskAbbrev{{#urldecode:%7C}}',scheduleRFA.TaskAbbrev,'}}')=Service
 +
,CONCAT('{{evaluationResAtt-attending{{#urldecode:%7C}}',scheduleRFA.StaffAbbrev,'{{#urldecode:%7C}}',scheduleRFA.TaskAbbrev,'{{#urldecode:%7C}}',scheduleRFA.Date,'{{#urldecode:%7C}}',scheduleRFA.UID,'}}')=Attending
 +
|where=YEAR(scheduleRFA.Date)={{#time: Y|{{Timezone}}}} AND QUARTER(scheduleRFA.Date) IN ('3', '4')  AND scheduleRFA.ResAbbrev='CFH' AND WEEKDAY(scheduleRFA.Date)=0 AND evaluationResAtt._pageName IS NULL
 +
|order by=scheduleRFA.Date ASC
 +
|rows per page=50
 +
|group by=Week Of
 +
|format=dynamic table|default=}}
 +
</td>
 +
</tr>
 +
</table>

Revision as of 07:42, July 8, 2020