|
@@ -20,7 +20,7 @@
|
20
|
20
|
<li>{{ $semester_info }}</li>
|
21
|
21
|
@endforeach
|
22
|
22
|
</ul>
|
23
|
|
- <?php set_time_limit(0);?>
|
|
23
|
+ <?php set_time_limit(0); ?>
|
24
|
24
|
@foreach ($schools as $school)
|
25
|
25
|
<h3>{{ $school->name }}</h3>
|
26
|
26
|
<hr>
|
|
@@ -47,7 +47,14 @@
|
47
|
47
|
<h3 class="panel-title">{{ $program->name }}</h3>
|
48
|
48
|
</div>
|
49
|
49
|
<div class="panel-body">
|
50
|
|
-
|
|
50
|
+ <ul class="nav navbars" role="tablist">
|
|
51
|
+ @foreach ($program->courses as $index2 => $course)
|
|
52
|
+ <li role="presentation">
|
|
53
|
+ <a data-toggle="tab" href="#{{ $course->code }}-{{ $course->number }}"
|
|
54
|
+ role="tab">{{ $course->code }}-{{ $course->number }}</a>
|
|
55
|
+ </li>
|
|
56
|
+ @endforeach
|
|
57
|
+ </ul>
|
51
|
58
|
|
52
|
59
|
|
53
|
60
|
|
|
@@ -56,14 +63,14 @@
|
56
|
63
|
<?php
|
57
|
64
|
|
58
|
65
|
/*$sections_evaluating = Course::has('activities')
|
59
|
|
- ->whereNotNull('outcomes_attempted')
|
60
|
|
- ->whereRaw('outcomes_attempted not like \'%"'.$outcome->id.'":0%\'')
|
61
|
|
- ->with(array('activities'=>function($query) use(&$outcome){
|
62
|
|
- $query->whereNotNull('outcomes_attempted');
|
63
|
|
- $query->whereRaw('outcomes_attempted not like \'%"'.$outcome->id.'":0%\'');} ))
|
64
|
|
- ->where('code', $course->code)->where('number',$course->number)
|
65
|
|
- ->whereIn('semester_id', Session::get('semesters_ids'))
|
66
|
|
- ->get();*/
|
|
66
|
+ ->whereNotNull('outcomes_attempted')
|
|
67
|
+ ->whereRaw('outcomes_attempted not like \'%"'.$outcome->id.'":0%\'')
|
|
68
|
+ ->with(array('activities'=>function($query) use(&$outcome){
|
|
69
|
+ $query->whereNotNull('outcomes_attempted');
|
|
70
|
+ $query->whereRaw('outcomes_attempted not like \'%"'.$outcome->id.'":0%\'');} ))
|
|
71
|
+ ->where('code', $course->code)->where('number',$course->number)
|
|
72
|
+ ->whereIn('semester_id', Session::get('semesters_ids'))
|
|
73
|
+ ->get();*/
|
67
|
74
|
|
68
|
75
|
$sections_evaluating = Course::has('activities')
|
69
|
76
|
|
|
@@ -99,494 +106,497 @@
|
99
|
106
|
?>
|
100
|
107
|
|
101
|
108
|
|
|
109
|
+ <div role="tabpanel" class='tab-pane'
|
|
110
|
+ id="{{ $course->code }}-{{ $course->number }}">
|
|
111
|
+ @foreach ($sections_evaluating as $index3 => $section)
|
|
112
|
+ @if (!$section->publishedActivities->isEmpty())
|
|
113
|
+ <h3 style="text-align: center"> Course: {{ $course->code }}
|
|
114
|
+ {{ $course->number }}-{{ $section->section }} </h3>
|
|
115
|
+ @endif
|
102
|
116
|
|
103
|
|
- @foreach ($sections_evaluating as $index3 => $section)
|
104
|
|
- @if (!$section->publishedActivities->isEmpty())
|
105
|
|
- <h3 style="text-align: center"> Course: {{ $course->code }}
|
106
|
|
- {{ $course->number }}-{{ $section->section }} </h3>
|
107
|
|
- @endif
|
108
|
|
-
|
109
|
|
- @foreach ($section->publishedActivities as $index4 => $activity)
|
110
|
|
- <h5 style="display: inline;">Activity {{ $index4 + 1 }}: </h5>
|
111
|
|
- <p style="display: inline;">{{ $activity->name }}
|
112
|
|
- <strong>({{ $activity->date }})</strong>
|
113
|
|
- </p>
|
114
|
|
- <br>
|
115
|
|
- <br>
|
116
|
|
- <h5 style="display: inline;">Performance Indicators: </h5>
|
117
|
|
- <?php
|
118
|
|
- Log::info($activity->rubric[0]);
|
119
|
|
- ?>
|
120
|
|
- <p style="display: inline;"><i>{{ $activity->rubric[0]->num_scales }} (
|
121
|
|
- <?php
|
122
|
|
- $titles = $activity->rubric[0]->getTitles();
|
123
|
|
- ?>
|
124
|
|
- @if (sizeof($titles) != 1)
|
125
|
|
- @foreach ($titles as $index5 => $rubric_title)
|
126
|
|
- @if ($index5 != $activity->rubric[0]->num_scales - 1)
|
127
|
|
- {{ $rubric_title->text }},
|
128
|
|
- @else
|
129
|
|
- and {{ $rubric_title->text }}
|
130
|
|
- @endif
|
131
|
|
- @endforeach
|
132
|
|
- )
|
133
|
|
- @else
|
134
|
|
- {{ $titles[0]->text }} )
|
135
|
|
- @endif
|
136
|
|
- </i></p>
|
137
|
|
- <br>
|
138
|
|
- <h5 style="display: inline;">Scale: </h5>
|
139
|
|
- @if ($activity->rubric[0]->max_score == 1)
|
140
|
|
- <p style="display: inline;">1 point scale</p>
|
141
|
|
- @else
|
142
|
|
- <p style="display: inline;">1-{{ $activity->rubric[0]->max_score }} point
|
143
|
|
- scale
|
|
117
|
+ @foreach ($section->publishedActivities as $index4 => $activity)
|
|
118
|
+ <h5 style="display: inline;">Activity {{ $index4 + 1 }}: </h5>
|
|
119
|
+ <p style="display: inline;">{{ $activity->name }}
|
|
120
|
+ <strong>({{ $activity->date }})</strong>
|
144
|
121
|
</p>
|
145
|
|
- @endif
|
146
|
|
- <br>
|
147
|
|
- <br>
|
148
|
|
- <h4>Performance of Students by Learning Outcome Criteria</h4>
|
149
|
|
- <h5 style="display: inline; margin:30px;">Target by criterion: </h5>
|
150
|
|
- <p style="display: inline;"> <i>{{ $activity->rubric[0]->expected_points }}
|
151
|
|
- or
|
152
|
|
- more</i>
|
153
|
|
- </p>
|
154
|
|
- <br>
|
155
|
|
- <h5 style="display: inline; margin:30px;">Expected percent of students achieving
|
156
|
|
- the
|
157
|
|
- target by criterion: </h5>
|
158
|
|
- <p style="display: inline;">
|
159
|
|
- <i>{{ $activity->rubric[0]->expected_percentage }}
|
160
|
|
- %</i>
|
161
|
|
- </p>
|
162
|
|
-
|
163
|
|
- <br>
|
164
|
|
-
|
165
|
|
- <table class='table table-striped table-condensed datatable'>
|
166
|
|
- <thead>
|
167
|
|
- <tr>
|
168
|
|
- <th>
|
169
|
|
- Criterion
|
170
|
|
- </th>
|
171
|
|
- <th>
|
172
|
|
- Number of Students Assessed
|
173
|
|
- </th>
|
174
|
|
- <th>
|
175
|
|
- Number of students that achieved the target
|
176
|
|
- </th>
|
177
|
|
- <th>
|
178
|
|
- %
|
179
|
|
- </th>
|
180
|
|
- <th>
|
181
|
|
- Learning Outcomes
|
182
|
|
- </th>
|
183
|
|
- </tr>
|
184
|
|
- </thead>
|
185
|
|
- <tbody>
|
186
|
|
- @foreach ($activity->allActivityCriterionInfo() as $index5 => $ac_criterion)
|
|
122
|
+ <br>
|
|
123
|
+ <br>
|
|
124
|
+ <h5 style="display: inline;">Performance Indicators: </h5>
|
|
125
|
+ <?php
|
|
126
|
+ Log::info($activity->rubric[0]);
|
|
127
|
+ ?>
|
|
128
|
+ <p style="display: inline;"><i>{{ $activity->rubric[0]->num_scales }} (
|
|
129
|
+ <?php
|
|
130
|
+ $titles = $activity->rubric[0]->getTitles();
|
|
131
|
+ ?>
|
|
132
|
+ @if (sizeof($titles) != 1)
|
|
133
|
+ @foreach ($titles as $index5 => $rubric_title)
|
|
134
|
+ @if ($index5 != $activity->rubric[0]->num_scales - 1)
|
|
135
|
+ {{ $rubric_title->text }},
|
|
136
|
+ @else
|
|
137
|
+ and {{ $rubric_title->text }}
|
|
138
|
+ @endif
|
|
139
|
+ @endforeach
|
|
140
|
+ )
|
|
141
|
+ @else
|
|
142
|
+ {{ $titles[0]->text }} )
|
|
143
|
+ @endif
|
|
144
|
+ </i></p>
|
|
145
|
+ <br>
|
|
146
|
+ <h5 style="display: inline;">Scale: </h5>
|
|
147
|
+ @if ($activity->rubric[0]->max_score == 1)
|
|
148
|
+ <p style="display: inline;">1 point scale</p>
|
|
149
|
+ @else
|
|
150
|
+ <p style="display: inline;">1-{{ $activity->rubric[0]->max_score }}
|
|
151
|
+ point
|
|
152
|
+ scale
|
|
153
|
+ </p>
|
|
154
|
+ @endif
|
|
155
|
+ <br>
|
|
156
|
+ <br>
|
|
157
|
+ <h4>Performance of Students by Learning Outcome Criteria</h4>
|
|
158
|
+ <h5 style="display: inline; margin:30px;">Target by criterion: </h5>
|
|
159
|
+ <p style="display: inline;">
|
|
160
|
+ <i>{{ $activity->rubric[0]->expected_points }}
|
|
161
|
+ or
|
|
162
|
+ more</i>
|
|
163
|
+ </p>
|
|
164
|
+ <br>
|
|
165
|
+ <h5 style="display: inline; margin:30px;">Expected percent of students
|
|
166
|
+ achieving
|
|
167
|
+ the
|
|
168
|
+ target by criterion: </h5>
|
|
169
|
+ <p style="display: inline;">
|
|
170
|
+ <i>{{ $activity->rubric[0]->expected_percentage }}
|
|
171
|
+ %</i>
|
|
172
|
+ </p>
|
|
173
|
+
|
|
174
|
+ <br>
|
|
175
|
+
|
|
176
|
+ <table class='table table-striped table-condensed datatable'>
|
|
177
|
+ <thead>
|
187
|
178
|
<tr>
|
188
|
|
- <td> {{ $ac_criterion->name }}</td>
|
189
|
|
- <td>{{ Criterion::students_attempted($ac_criterion->criterion_id, $activity->id) }}
|
190
|
|
- </td>
|
191
|
|
- <td>
|
192
|
|
- {{ Criterion::students_achieved($ac_criterion->criterion_id, $activity->id) }}
|
193
|
|
-
|
194
|
|
- </td>
|
195
|
|
- <?php
|
196
|
|
-
|
197
|
|
- $out_att = Criterion::students_attempted($ac_criterion->criterion_id, $activity->id);
|
198
|
|
- $out_ach = Criterion::students_achieved($ac_criterion->criterion_id, $activity->id);
|
199
|
|
-
|
200
|
|
- $percentage = 'N/A';
|
201
|
|
- $activity->getOutcomeReport();
|
202
|
|
-
|
203
|
|
- ?>
|
204
|
|
- @if ($out_att == 0)
|
205
|
|
- <td class="col-md-1 danger">{{ $percentage }}</td>
|
206
|
|
-
|
207
|
|
- @else
|
|
179
|
+ <th>
|
|
180
|
+ Criterion
|
|
181
|
+ </th>
|
|
182
|
+ <th>
|
|
183
|
+ Number of Students Assessed
|
|
184
|
+ </th>
|
|
185
|
+ <th>
|
|
186
|
+ Number of students that achieved the target
|
|
187
|
+ </th>
|
|
188
|
+ <th>
|
|
189
|
+ %
|
|
190
|
+ </th>
|
|
191
|
+ <th>
|
|
192
|
+ Learning Outcomes
|
|
193
|
+ </th>
|
|
194
|
+ </tr>
|
|
195
|
+ </thead>
|
|
196
|
+ <tbody>
|
|
197
|
+ @foreach ($activity->allActivityCriterionInfo() as $index5 => $ac_criterion)
|
|
198
|
+ <tr>
|
|
199
|
+ <td> {{ $ac_criterion->name }}</td>
|
|
200
|
+ <td>{{ Criterion::students_attempted($ac_criterion->criterion_id, $activity->id) }}
|
|
201
|
+ </td>
|
|
202
|
+ <td>
|
|
203
|
+ {{ Criterion::students_achieved($ac_criterion->criterion_id, $activity->id) }}
|
|
204
|
+
|
|
205
|
+ </td>
|
208
|
206
|
<?php
|
209
|
|
- $percentage = round(($out_ach / $out_att) * 100, 2);
|
|
207
|
+
|
|
208
|
+ $out_att = Criterion::students_attempted($ac_criterion->criterion_id, $activity->id);
|
|
209
|
+ $out_ach = Criterion::students_achieved($ac_criterion->criterion_id, $activity->id);
|
|
210
|
+
|
|
211
|
+ $percentage = 'N/A';
|
|
212
|
+ $activity->getOutcomeReport();
|
|
213
|
+
|
210
|
214
|
?>
|
211
|
|
- @if ($percentage >= $activity->rubric[0]->expected_percentage)
|
212
|
|
- <td class="col-md-1 success">{{ $percentage }}%</td>
|
213
|
|
-
|
|
215
|
+ @if ($out_att == 0)
|
|
216
|
+ <td class="col-md-1 danger">{{ $percentage }}</td>
|
214
|
217
|
@else
|
215
|
|
- <td class="col-md-1 danger">{{ $percentage }}%</td>
|
|
218
|
+ <?php
|
|
219
|
+ $percentage = round(($out_ach / $out_att) * 100, 2);
|
|
220
|
+ ?>
|
|
221
|
+ @if ($percentage >= $activity->rubric[0]->expected_percentage)
|
|
222
|
+ <td class="col-md-1 success">{{ $percentage }}%
|
|
223
|
+ </td>
|
|
224
|
+ @else
|
|
225
|
+ <td class="col-md-1 danger">{{ $percentage }}%
|
|
226
|
+ </td>
|
|
227
|
+ @endif
|
216
|
228
|
@endif
|
217
|
|
- @endif
|
218
|
|
- <td>
|
|
229
|
+ <td>
|
219
|
230
|
|
220
|
|
- @foreach (Criterion::outcomes($ac_criterion->criterion_id) as $index6 => $outcome)
|
221
|
|
- <?php echo $outcome->name . "\n\n\n <br>"; ?>
|
222
|
|
- @endforeach
|
|
231
|
+ @foreach (Criterion::outcomes($ac_criterion->criterion_id) as $index6 => $outcome)
|
|
232
|
+ <?php echo $outcome->name . "\n\n\n <br>"; ?>
|
|
233
|
+ @endforeach
|
223
|
234
|
|
224
|
235
|
|
225
|
|
- </td>
|
226
|
|
- </tr>
|
227
|
|
- @endforeach
|
228
|
|
- </tbody>
|
229
|
|
-
|
230
|
|
- </table>
|
231
|
|
- <br>
|
232
|
|
- <h5 style="display: inline; margin:30px;">Formative Actions: </h5>
|
233
|
|
- <?php $formative_actions = $activity->formativeActionsWithCriteria(); ?>
|
234
|
|
- @if ($formative_actions)
|
235
|
|
- <p style="display: inline;">
|
236
|
|
- <u>{{ $formative_actions[0]->at_text }}:
|
237
|
|
- </u>
|
|
236
|
+ </td>
|
|
237
|
+ </tr>
|
|
238
|
+ @endforeach
|
|
239
|
+ </tbody>
|
238
|
240
|
|
239
|
|
- <i>{{ $formative_actions[0]->description }}
|
|
241
|
+ </table>
|
|
242
|
+ <br>
|
|
243
|
+ <h5 style="display: inline; margin:30px;">Formative Actions: </h5>
|
|
244
|
+ <?php $formative_actions = $activity->formativeActionsWithCriteria(); ?>
|
|
245
|
+ @if ($formative_actions)
|
|
246
|
+ <p style="display: inline;">
|
|
247
|
+ <u>{{ $formative_actions[0]->at_text }}:
|
|
248
|
+ </u>
|
|
249
|
+
|
|
250
|
+ <i>{{ $formative_actions[0]->description }}
|
|
251
|
+ </i>
|
|
252
|
+ </p>
|
|
253
|
+ <br>
|
|
254
|
+ <h5 style="display: inline; margin:30px;">Formative Action's Associated
|
|
255
|
+ Criteria: </h5>
|
|
256
|
+ <ul style="margin:30px;">
|
|
257
|
+ @foreach ($formative_actions as $criteria)
|
|
258
|
+ <li> <i>{{ $criteria->name }} </i></li>
|
|
259
|
+ @endforeach
|
|
260
|
+ </ul>
|
|
261
|
+ @endif
|
|
262
|
+
|
|
263
|
+ <h5 style="display: inline; margin:30px;">Assessment Comments: </h5>
|
|
264
|
+ @if ($activity->assessment_comments != null)
|
|
265
|
+ <p style="display: inline;">{{ $activity->assessment_comments }}</p>
|
|
266
|
+ @endif
|
|
267
|
+ <br>
|
|
268
|
+ <hr>
|
|
269
|
+ <br>
|
|
270
|
+
|
|
271
|
+ <h4>Performance of Students by Learning Outcome</h4>
|
|
272
|
+ <h5 style="display: inline;">Activity {{ $index4 + 1 }}: </h5>
|
|
273
|
+ <p style="display: inline;">{{ $activity->name }}
|
|
274
|
+ <strong>({{ $activity->date }})</strong>
|
|
275
|
+ </p>
|
|
276
|
+ <br>
|
|
277
|
+ <br>
|
|
278
|
+
|
|
279
|
+ <h5 style="display: inline; margin:30px;">Target by learning outcome: </h5>
|
|
280
|
+ <p style="display: inline;"> <i>>= 66.67% of the attempts</i>
|
|
281
|
+ </p>
|
|
282
|
+ <br>
|
|
283
|
+ <h5 style="display: inline; margin:30px;">Expected percent of students
|
|
284
|
+ achieving
|
|
285
|
+ the
|
|
286
|
+ target by learning outcome: </h5>
|
|
287
|
+ <p style="display: inline;"> <i>
|
|
288
|
+ <?php
|
|
289
|
+ $expected = DB::table('target_outcomes_program')
|
|
290
|
+ ->where('program_id', $course->program_id)
|
|
291
|
+ ->where('semester_id', $course->semester_id)
|
|
292
|
+ ->first(); //->expected_target;
|
|
293
|
+ if (!$expected) {
|
|
294
|
+ $expected = 'It has not been defined in the annual plan';
|
|
295
|
+ } else {
|
|
296
|
+ $expected = $expected->expected_target;
|
|
297
|
+ }
|
|
298
|
+ ?>
|
|
299
|
+ {{ $expected }}
|
240
|
300
|
</i>
|
241
|
301
|
</p>
|
242
|
302
|
<br>
|
243
|
|
- <h5 style="display: inline; margin:30px;">Formative Action's Associated
|
244
|
|
- Criteria: </h5>
|
245
|
|
- <ul style="margin:30px;">
|
246
|
|
- @foreach ($formative_actions as $criteria)
|
247
|
|
- <li> <i>{{ $criteria->name }} <i></li>
|
248
|
|
- @endforeach
|
249
|
|
- </ul>
|
250
|
|
- @endif
|
251
|
|
- <br>
|
252
|
|
- <h5 style="display: inline; margin:30px;">Assessment Comments: </h5>
|
253
|
|
- @if ($activity->assessment_comments != null)
|
254
|
|
- <p style="display: inline;">{{ $activity->assessment_comments }}</p>
|
255
|
|
- @endif
|
256
|
|
- <br>
|
257
|
|
- <hr>
|
258
|
|
- <br>
|
259
|
|
-
|
260
|
|
- <h4>Performance of Students by Learning Outcome</h4>
|
261
|
|
- <h5 style="display: inline;">Activity {{ $index4 + 1 }}: </h5>
|
262
|
|
- <p style="display: inline;">{{ $activity->name }}
|
263
|
|
- <strong>({{ $activity->date }})</strong>
|
264
|
|
- </p>
|
265
|
|
- <br>
|
266
|
|
- <br>
|
267
|
|
-
|
268
|
|
- <h5 style="display: inline; margin:30px;">Target by learning outcome: </h5>
|
269
|
|
- <p style="display: inline;"> <i>>= 66.67% of the attempts</i>
|
270
|
|
- </p>
|
271
|
|
- <br>
|
272
|
|
- <h5 style="display: inline; margin:30px;">Expected percent of students
|
273
|
|
- achieving
|
274
|
|
- the
|
275
|
|
- target by learning outcome: </h5>
|
276
|
|
- <p style="display: inline;"> <i>
|
277
|
|
- <?php
|
278
|
|
- $expected = DB::table('target_outcomes_program')
|
279
|
|
- ->where('program_id', $course->program_id)
|
280
|
|
- ->where('semester_id', $course->semester_id)
|
281
|
|
- ->first(); //->expected_target;
|
282
|
|
- if (!$expected) {
|
283
|
|
- $expected = 'It has not been defined in the annual plan';
|
284
|
|
- } else {
|
285
|
|
- $expected = $expected->expected_target;
|
286
|
|
- }
|
287
|
|
- ?>
|
288
|
|
- {{ $expected }}
|
289
|
|
- </i>
|
290
|
|
- </p>
|
291
|
|
- <br>
|
292
|
|
- <table class='table table-striped table-condensed datatable'>
|
293
|
|
- <thead>
|
294
|
|
- <tr>
|
295
|
|
- <th>
|
296
|
|
- Learning Outcome
|
297
|
|
- </th>
|
298
|
|
- <th>
|
299
|
|
- Number of Students Assessed
|
300
|
|
- </th>
|
301
|
|
- <th>
|
302
|
|
- Number of students that achieved the target
|
303
|
|
- </th>
|
304
|
|
- <th>
|
305
|
|
- %
|
306
|
|
- </th>
|
307
|
|
-
|
308
|
|
- </tr>
|
309
|
|
- </thead>
|
310
|
|
- <tbody>
|
311
|
|
- @foreach ($activity->getOutcomeReport() as $outcome)
|
|
303
|
+ <table class='table table-striped table-condensed datatable'>
|
|
304
|
+ <thead>
|
312
|
305
|
<tr>
|
313
|
|
- <td>
|
314
|
|
- {{ $outcome->name }}
|
315
|
|
- </td>
|
316
|
|
- <td>
|
317
|
|
- {{ $outcome->attempted }}
|
318
|
|
- </td>
|
319
|
|
- <td>
|
320
|
|
- {{ $outcome->achieved }}
|
321
|
|
- </td>
|
322
|
|
- @if ($outcome->percentage >= $expected)
|
323
|
|
- <td class="col-md-1 success">
|
324
|
|
- {{ $outcome->percentage }}%
|
325
|
|
- </td>
|
|
306
|
+ <th>
|
|
307
|
+ Learning Outcome
|
|
308
|
+ </th>
|
|
309
|
+ <th>
|
|
310
|
+ Number of Students Assessed
|
|
311
|
+ </th>
|
|
312
|
+ <th>
|
|
313
|
+ Number of students that achieved the target
|
|
314
|
+ </th>
|
|
315
|
+ <th>
|
|
316
|
+ %
|
|
317
|
+ </th>
|
326
|
318
|
|
327
|
|
- @else
|
328
|
|
- <td class="col-md-1 danger">
|
329
|
|
- {{ $outcome->percentage }}%
|
|
319
|
+ </tr>
|
|
320
|
+ </thead>
|
|
321
|
+ <tbody>
|
|
322
|
+ @foreach ($activity->getOutcomeReport() as $outcome)
|
|
323
|
+ <tr>
|
|
324
|
+ <td>
|
|
325
|
+ {{ $outcome->name }}
|
330
|
326
|
</td>
|
331
|
|
- @endif
|
332
|
|
-
|
|
327
|
+ <td>
|
|
328
|
+ {{ $outcome->attempted }}
|
|
329
|
+ </td>
|
|
330
|
+ <td>
|
|
331
|
+ {{ $outcome->achieved }}
|
|
332
|
+ </td>
|
|
333
|
+ @if ($outcome->percentage >= $expected)
|
|
334
|
+ <td class="col-md-1 success">
|
|
335
|
+ {{ $outcome->percentage }}%
|
|
336
|
+ </td>
|
|
337
|
+ @else
|
|
338
|
+ <td class="col-md-1 danger">
|
|
339
|
+ {{ $outcome->percentage }}%
|
|
340
|
+ </td>
|
|
341
|
+ @endif
|
333
|
342
|
|
334
|
343
|
|
335
|
344
|
|
336
|
345
|
|
337
|
|
- </tr>
|
338
|
|
- @endforeach
|
339
|
|
- </tbody>
|
340
|
|
- </table>
|
341
|
346
|
|
342
|
|
- <br>
|
343
|
|
- <hr>
|
344
|
|
- @endforeach
|
345
|
|
- <h4>Diagnostic Activities</h4>
|
346
|
|
- @foreach ($section->diagnosticActivities as $index4 => $activity)
|
347
|
|
- <h5 style="display: inline;">Activity {{ $index4 + 1 }}: </h5>
|
348
|
|
- <p style="display: inline;">{{ $activity->name }}
|
349
|
|
- <strong>({{ $activity->date }})</strong>
|
350
|
|
- </p>
|
351
|
|
- <br>
|
352
|
|
- <br>
|
353
|
|
- <h5 style="display: inline;">Performance Indicators: </h5>
|
354
|
|
- <?php
|
355
|
|
- Log::info($activity->rubric[0]);
|
356
|
|
- ?>
|
357
|
|
- <p style="display: inline;"><i>{{ $activity->rubric[0]->num_scales }} (
|
358
|
|
- <?php
|
359
|
|
- $titles = $activity->rubric[0]->getTitles();
|
360
|
|
- ?>
|
361
|
|
- @if (sizeof($titles) != 1)
|
362
|
|
- @foreach ($titles as $index5 => $rubric_title)
|
363
|
|
- @if ($index5 != $activity->rubric[0]->num_scales - 1)
|
364
|
|
- {{ $rubric_title->text }},
|
365
|
|
- @else
|
366
|
|
- and {{ $rubric_title->text }}
|
367
|
|
- @endif
|
|
347
|
+ </tr>
|
368
|
348
|
@endforeach
|
369
|
|
- )
|
370
|
|
- @else
|
371
|
|
- {{ $titles[0]->text }} )
|
372
|
|
- @endif
|
373
|
|
- </i></p>
|
374
|
|
- <br>
|
375
|
|
- <h5 style="display: inline;">Scale: </h5>
|
376
|
|
- @if ($activity->rubric[0]->max_score == 1)
|
377
|
|
- <p style="display: inline;">1 point scale</p>
|
378
|
|
- @else
|
379
|
|
- <p style="display: inline;">1-{{ $activity->rubric[0]->max_score }} point
|
380
|
|
- scale
|
|
349
|
+ </tbody>
|
|
350
|
+ </table>
|
|
351
|
+
|
|
352
|
+ <br>
|
|
353
|
+ <hr>
|
|
354
|
+ @endforeach
|
|
355
|
+ <h4>Diagnostic Activities</h4>
|
|
356
|
+ @foreach ($section->diagnosticActivities as $index4 => $activity)
|
|
357
|
+ <h5 style="display: inline;">Activity {{ $index4 + 1 }}: </h5>
|
|
358
|
+ <p style="display: inline;">{{ $activity->name }}
|
|
359
|
+ <strong>({{ $activity->date }})</strong>
|
381
|
360
|
</p>
|
382
|
|
- @endif
|
383
|
|
- <br>
|
384
|
|
- <br>
|
385
|
|
- <h4>Performance of Students by Learning Outcome Criteria</h4>
|
386
|
|
- <h5 style="display: inline; margin:30px;">Target by criterion: </h5>
|
387
|
|
- <p style="display: inline;"> <i>{{ $activity->rubric[0]->expected_points }}
|
388
|
|
- or
|
389
|
|
- more</i>
|
390
|
|
- </p>
|
391
|
|
- <br>
|
392
|
|
- <h5 style="display: inline; margin:30px;">Expected percent of students achieving
|
393
|
|
- the
|
394
|
|
- target by criterion: </h5>
|
395
|
|
- <p style="display: inline;">
|
396
|
|
- <i>{{ $activity->rubric[0]->expected_percentage }}
|
397
|
|
- %</i>
|
398
|
|
- </p>
|
399
|
|
-
|
400
|
|
- <br>
|
401
|
|
-
|
402
|
|
- <table class='table table-striped table-condensed datatable'>
|
403
|
|
- <thead>
|
404
|
|
- <tr>
|
405
|
|
- <th>
|
406
|
|
- Criterion
|
407
|
|
- </th>
|
408
|
|
- <th>
|
409
|
|
- Number of Students Assessed
|
410
|
|
- </th>
|
411
|
|
- <th>
|
412
|
|
- Number of students that achieved the target
|
413
|
|
- </th>
|
414
|
|
- <th>
|
415
|
|
- %
|
416
|
|
- </th>
|
417
|
|
- <th>
|
418
|
|
- Learning Outcomes
|
419
|
|
- </th>
|
420
|
|
- </tr>
|
421
|
|
- </thead>
|
422
|
|
- <tbody>
|
423
|
|
- @foreach ($activity->allActivityCriterionInfo() as $index5 => $ac_criterion)
|
|
361
|
+ <br>
|
|
362
|
+ <br>
|
|
363
|
+ <h5 style="display: inline;">Performance Indicators: </h5>
|
|
364
|
+ <?php
|
|
365
|
+ Log::info($activity->rubric[0]);
|
|
366
|
+ ?>
|
|
367
|
+ <p style="display: inline;"><i>{{ $activity->rubric[0]->num_scales }} (
|
|
368
|
+ <?php
|
|
369
|
+ $titles = $activity->rubric[0]->getTitles();
|
|
370
|
+ ?>
|
|
371
|
+ @if (sizeof($titles) != 1)
|
|
372
|
+ @foreach ($titles as $index5 => $rubric_title)
|
|
373
|
+ @if ($index5 != $activity->rubric[0]->num_scales - 1)
|
|
374
|
+ {{ $rubric_title->text }},
|
|
375
|
+ @else
|
|
376
|
+ and {{ $rubric_title->text }}
|
|
377
|
+ @endif
|
|
378
|
+ @endforeach
|
|
379
|
+ )
|
|
380
|
+ @else
|
|
381
|
+ {{ $titles[0]->text }} )
|
|
382
|
+ @endif
|
|
383
|
+ </i></p>
|
|
384
|
+ <br>
|
|
385
|
+ <h5 style="display: inline;">Scale: </h5>
|
|
386
|
+ @if ($activity->rubric[0]->max_score == 1)
|
|
387
|
+ <p style="display: inline;">1 point scale</p>
|
|
388
|
+ @else
|
|
389
|
+ <p style="display: inline;">1-{{ $activity->rubric[0]->max_score }}
|
|
390
|
+ point
|
|
391
|
+ scale
|
|
392
|
+ </p>
|
|
393
|
+ @endif
|
|
394
|
+ <br>
|
|
395
|
+ <br>
|
|
396
|
+ <h4>Performance of Students by Learning Outcome Criteria</h4>
|
|
397
|
+ <h5 style="display: inline; margin:30px;">Target by criterion: </h5>
|
|
398
|
+ <p style="display: inline;">
|
|
399
|
+ <i>{{ $activity->rubric[0]->expected_points }}
|
|
400
|
+ or
|
|
401
|
+ more</i>
|
|
402
|
+ </p>
|
|
403
|
+ <br>
|
|
404
|
+ <h5 style="display: inline; margin:30px;">Expected percent of students
|
|
405
|
+ achieving
|
|
406
|
+ the
|
|
407
|
+ target by criterion: </h5>
|
|
408
|
+ <p style="display: inline;">
|
|
409
|
+ <i>{{ $activity->rubric[0]->expected_percentage }}
|
|
410
|
+ %</i>
|
|
411
|
+ </p>
|
|
412
|
+
|
|
413
|
+ <br>
|
|
414
|
+
|
|
415
|
+ <table class='table table-striped table-condensed datatable'>
|
|
416
|
+ <thead>
|
424
|
417
|
<tr>
|
425
|
|
- <td> {{ $ac_criterion->name }}</td>
|
426
|
|
- <td>{{ Criterion::students_attempted($ac_criterion->criterion_id, $activity->id) }}
|
427
|
|
- </td>
|
428
|
|
- <td>
|
429
|
|
- {{ Criterion::students_achieved($ac_criterion->criterion_id, $activity->id) }}
|
430
|
|
-
|
431
|
|
- </td>
|
432
|
|
- <?php
|
433
|
|
-
|
434
|
|
- $out_att = Criterion::students_attempted($ac_criterion->criterion_id, $activity->id);
|
435
|
|
- $out_ach = Criterion::students_achieved($ac_criterion->criterion_id, $activity->id);
|
436
|
|
-
|
437
|
|
- $percentage = 'N/A';
|
438
|
|
- $activity->getOutcomeReport();
|
439
|
|
-
|
440
|
|
- ?>
|
441
|
|
- @if ($out_att == 0)
|
442
|
|
- <td class="col-md-1 danger">{{ $percentage }}</td>
|
443
|
|
-
|
444
|
|
- @else
|
|
418
|
+ <th>
|
|
419
|
+ Criterion
|
|
420
|
+ </th>
|
|
421
|
+ <th>
|
|
422
|
+ Number of Students Assessed
|
|
423
|
+ </th>
|
|
424
|
+ <th>
|
|
425
|
+ Number of students that achieved the target
|
|
426
|
+ </th>
|
|
427
|
+ <th>
|
|
428
|
+ %
|
|
429
|
+ </th>
|
|
430
|
+ <th>
|
|
431
|
+ Learning Outcomes
|
|
432
|
+ </th>
|
|
433
|
+ </tr>
|
|
434
|
+ </thead>
|
|
435
|
+ <tbody>
|
|
436
|
+ @foreach ($activity->allActivityCriterionInfo() as $index5 => $ac_criterion)
|
|
437
|
+ <tr>
|
|
438
|
+ <td> {{ $ac_criterion->name }}</td>
|
|
439
|
+ <td>{{ Criterion::students_attempted($ac_criterion->criterion_id, $activity->id) }}
|
|
440
|
+ </td>
|
|
441
|
+ <td>
|
|
442
|
+ {{ Criterion::students_achieved($ac_criterion->criterion_id, $activity->id) }}
|
|
443
|
+
|
|
444
|
+ </td>
|
445
|
445
|
<?php
|
446
|
|
- $percentage = round(($out_ach / $out_att) * 100, 2);
|
|
446
|
+
|
|
447
|
+ $out_att = Criterion::students_attempted($ac_criterion->criterion_id, $activity->id);
|
|
448
|
+ $out_ach = Criterion::students_achieved($ac_criterion->criterion_id, $activity->id);
|
|
449
|
+
|
|
450
|
+ $percentage = 'N/A';
|
|
451
|
+ $activity->getOutcomeReport();
|
|
452
|
+
|
447
|
453
|
?>
|
448
|
|
- @if ($percentage >= $activity->rubric[0]->expected_percentage)
|
449
|
|
- <td class="col-md-1 success">{{ $percentage }}%</td>
|
450
|
|
-
|
|
454
|
+ @if ($out_att == 0)
|
|
455
|
+ <td class="col-md-1 danger">{{ $percentage }}</td>
|
451
|
456
|
@else
|
452
|
|
- <td class="col-md-1 danger">{{ $percentage }}%</td>
|
|
457
|
+ <?php
|
|
458
|
+ $percentage = round(($out_ach / $out_att) * 100, 2);
|
|
459
|
+ ?>
|
|
460
|
+ @if ($percentage >= $activity->rubric[0]->expected_percentage)
|
|
461
|
+ <td class="col-md-1 success">{{ $percentage }}%
|
|
462
|
+ </td>
|
|
463
|
+ @else
|
|
464
|
+ <td class="col-md-1 danger">{{ $percentage }}%
|
|
465
|
+ </td>
|
|
466
|
+ @endif
|
453
|
467
|
@endif
|
454
|
|
- @endif
|
455
|
|
- <td>
|
|
468
|
+ <td>
|
456
|
469
|
|
457
|
|
- @foreach (Criterion::outcomes($ac_criterion->criterion_id) as $index6 => $outcome)
|
458
|
|
- <?php echo $outcome->name . "\n\n\n <br>"; ?>
|
459
|
|
- @endforeach
|
|
470
|
+ @foreach (Criterion::outcomes($ac_criterion->criterion_id) as $index6 => $outcome)
|
|
471
|
+ <?php echo $outcome->name . "\n\n\n <br>"; ?>
|
|
472
|
+ @endforeach
|
460
|
473
|
|
461
|
474
|
|
462
|
|
- </td>
|
463
|
|
- </tr>
|
464
|
|
- @endforeach
|
465
|
|
- </tbody>
|
466
|
|
-
|
467
|
|
- </table>
|
468
|
|
- <br>
|
469
|
|
- <h5 style="display: inline; margin:30px;">Formative Actions: </h5>
|
470
|
|
- <?php $formative_actions = $activity->formativeActionsWithCriteria(); ?>
|
471
|
|
- @if ($formative_actions)
|
472
|
|
- <p style="display: inline;">
|
473
|
|
- <u>{{ $formative_actions[0]->at_text }}:
|
474
|
|
- </u>
|
|
475
|
+ </td>
|
|
476
|
+ </tr>
|
|
477
|
+ @endforeach
|
|
478
|
+ </tbody>
|
475
|
479
|
|
476
|
|
- <i>{{ $formative_actions[0]->description }}
|
|
480
|
+ </table>
|
|
481
|
+ <br>
|
|
482
|
+ <h5 style="display: inline; margin:30px;">Formative Actions: </h5>
|
|
483
|
+ <?php $formative_actions = $activity->formativeActionsWithCriteria(); ?>
|
|
484
|
+ @if ($formative_actions)
|
|
485
|
+ <p style="display: inline;">
|
|
486
|
+ <u>{{ $formative_actions[0]->at_text }}:
|
|
487
|
+ </u>
|
|
488
|
+
|
|
489
|
+ <i>{{ $formative_actions[0]->description }}
|
|
490
|
+ </i>
|
|
491
|
+ </p>
|
|
492
|
+ <br>
|
|
493
|
+ <h5 style="display: inline; margin:30px;">Formative Action's Associated
|
|
494
|
+ Criteria: </h5>
|
|
495
|
+ <ul style="margin:30px;">
|
|
496
|
+ @foreach ($formative_actions as $criteria)
|
|
497
|
+ <li> <i>{{ $criteria->name }} </i></li>
|
|
498
|
+ @endforeach
|
|
499
|
+ </ul>
|
|
500
|
+ @endif
|
|
501
|
+
|
|
502
|
+ <h5 style="display: inline; margin:30px;">Assessment Comments: </h5>
|
|
503
|
+ @if ($activity->assessment_comments != null)
|
|
504
|
+ <p style="display: inline;">{{ $activity->assessment_comments }}</p>
|
|
505
|
+ @endif
|
|
506
|
+ <br>
|
|
507
|
+ <hr>
|
|
508
|
+ <br>
|
|
509
|
+
|
|
510
|
+ <h4>Performance of Students by Learning Outcome</h4>
|
|
511
|
+ <h5 style="display: inline;">Activity {{ $index4 + 1 }}: </h5>
|
|
512
|
+ <p style="display: inline;">{{ $activity->name }}
|
|
513
|
+ <strong>({{ $activity->date }})</strong>
|
|
514
|
+ </p>
|
|
515
|
+ <br>
|
|
516
|
+ <br>
|
|
517
|
+
|
|
518
|
+ <h5 style="display: inline; margin:30px;">Target by learning outcome: </h5>
|
|
519
|
+ <p style="display: inline;"> <i>>= 66.67% of the attempts</i>
|
|
520
|
+ </p>
|
|
521
|
+ <br>
|
|
522
|
+ <h5 style="display: inline; margin:30px;">Expected percent of students
|
|
523
|
+ achieving
|
|
524
|
+ the
|
|
525
|
+ target by learning outcome: </h5>
|
|
526
|
+ <p style="display: inline;"> <i>
|
|
527
|
+ <?php
|
|
528
|
+ $expected = DB::table('target_outcomes_program')
|
|
529
|
+ ->where('program_id', $course->program_id)
|
|
530
|
+ ->where('semester_id', $course->semester_id)
|
|
531
|
+ ->first(); //->expected_target;
|
|
532
|
+ if (!$expected) {
|
|
533
|
+ $expected = 'It has not been defined in the annual plan';
|
|
534
|
+ } else {
|
|
535
|
+ $expected = $expected->expected_target;
|
|
536
|
+ }
|
|
537
|
+ ?>
|
|
538
|
+ {{ $expected }}
|
477
|
539
|
</i>
|
478
|
540
|
</p>
|
479
|
541
|
<br>
|
480
|
|
- <h5 style="display: inline; margin:30px;">Formative Action's Associated
|
481
|
|
- Criteria: </h5>
|
482
|
|
- <ul style="margin:30px;">
|
483
|
|
- @foreach ($formative_actions as $criteria)
|
484
|
|
- <li> <i>{{ $criteria->name }} <i></li>
|
485
|
|
- @endforeach
|
486
|
|
- </ul>
|
487
|
|
- @endif
|
488
|
|
- <br>
|
489
|
|
- <h5 style="display: inline; margin:30px;">Assessment Comments: </h5>
|
490
|
|
- @if ($activity->assessment_comments != null)
|
491
|
|
- <p style="display: inline;">{{ $activity->assessment_comments }}</p>
|
492
|
|
- @endif
|
493
|
|
- <br>
|
494
|
|
- <hr>
|
495
|
|
- <br>
|
496
|
|
-
|
497
|
|
- <h4>Performance of Students by Learning Outcome</h4>
|
498
|
|
- <h5 style="display: inline;">Activity {{ $index4 + 1 }}: </h5>
|
499
|
|
- <p style="display: inline;">{{ $activity->name }}
|
500
|
|
- <strong>({{ $activity->date }})</strong>
|
501
|
|
- </p>
|
502
|
|
- <br>
|
503
|
|
- <br>
|
504
|
|
-
|
505
|
|
- <h5 style="display: inline; margin:30px;">Target by learning outcome: </h5>
|
506
|
|
- <p style="display: inline;"> <i>>= 66.67% of the attempts</i>
|
507
|
|
- </p>
|
508
|
|
- <br>
|
509
|
|
- <h5 style="display: inline; margin:30px;">Expected percent of students
|
510
|
|
- achieving
|
511
|
|
- the
|
512
|
|
- target by learning outcome: </h5>
|
513
|
|
- <p style="display: inline;"> <i>
|
514
|
|
- <?php
|
515
|
|
- $expected = DB::table('target_outcomes_program')
|
516
|
|
- ->where('program_id', $course->program_id)
|
517
|
|
- ->where('semester_id', $course->semester_id)
|
518
|
|
- ->first(); //->expected_target;
|
519
|
|
- if (!$expected) {
|
520
|
|
- $expected = 'It has not been defined in the annual plan';
|
521
|
|
- } else {
|
522
|
|
- $expected = $expected->expected_target;
|
523
|
|
- }
|
524
|
|
- ?>
|
525
|
|
- {{ $expected }}
|
526
|
|
- </i>
|
527
|
|
- </p>
|
528
|
|
- <br>
|
529
|
|
- <table class='table table-striped table-condensed datatable'>
|
530
|
|
- <thead>
|
531
|
|
- <tr>
|
532
|
|
- <th>
|
533
|
|
- Learning Outcome
|
534
|
|
- </th>
|
535
|
|
- <th>
|
536
|
|
- Number of Students Assessed
|
537
|
|
- </th>
|
538
|
|
- <th>
|
539
|
|
- Number of students that achieved the target
|
540
|
|
- </th>
|
541
|
|
- <th>
|
542
|
|
- %
|
543
|
|
- </th>
|
544
|
|
-
|
545
|
|
- </tr>
|
546
|
|
- </thead>
|
547
|
|
- <tbody>
|
548
|
|
- @foreach ($activity->getOutcomeReport() as $outcome)
|
|
542
|
+ <table class='table table-striped table-condensed datatable'>
|
|
543
|
+ <thead>
|
549
|
544
|
<tr>
|
550
|
|
- <td>
|
551
|
|
- {{ $outcome->name }}
|
552
|
|
- </td>
|
553
|
|
- <td>
|
554
|
|
- {{ $outcome->attempted }}
|
555
|
|
- </td>
|
556
|
|
- <td>
|
557
|
|
- {{ $outcome->achieved }}
|
558
|
|
- </td>
|
559
|
|
- @if ($outcome->percentage >= $expected)
|
560
|
|
- <td class="col-md-1 success">
|
561
|
|
- {{ $outcome->percentage }}%
|
562
|
|
- </td>
|
|
545
|
+ <th>
|
|
546
|
+ Learning Outcome
|
|
547
|
+ </th>
|
|
548
|
+ <th>
|
|
549
|
+ Number of Students Assessed
|
|
550
|
+ </th>
|
|
551
|
+ <th>
|
|
552
|
+ Number of students that achieved the target
|
|
553
|
+ </th>
|
|
554
|
+ <th>
|
|
555
|
+ %
|
|
556
|
+ </th>
|
563
|
557
|
|
564
|
|
- @else
|
565
|
|
- <td class="col-md-1 danger">
|
566
|
|
- {{ $outcome->percentage }}%
|
|
558
|
+ </tr>
|
|
559
|
+ </thead>
|
|
560
|
+ <tbody>
|
|
561
|
+ @foreach ($activity->getOutcomeReport() as $outcome)
|
|
562
|
+ <tr>
|
|
563
|
+ <td>
|
|
564
|
+ {{ $outcome->name }}
|
|
565
|
+ </td>
|
|
566
|
+ <td>
|
|
567
|
+ {{ $outcome->attempted }}
|
|
568
|
+ </td>
|
|
569
|
+ <td>
|
|
570
|
+ {{ $outcome->achieved }}
|
567
|
571
|
</td>
|
568
|
|
- @endif
|
|
572
|
+ @if ($outcome->percentage >= $expected)
|
|
573
|
+ <td class="col-md-1 success">
|
|
574
|
+ {{ $outcome->percentage }}%
|
|
575
|
+ </td>
|
|
576
|
+ @else
|
|
577
|
+ <td class="col-md-1 danger">
|
|
578
|
+ {{ $outcome->percentage }}%
|
|
579
|
+ </td>
|
|
580
|
+ @endif
|
569
|
581
|
|
570
|
582
|
|
571
|
583
|
|
572
|
584
|
|
573
|
585
|
|
574
|
|
- </tr>
|
575
|
|
- @endforeach
|
576
|
|
- </tbody>
|
577
|
|
- </table>
|
|
586
|
+ </tr>
|
|
587
|
+ @endforeach
|
|
588
|
+ </tbody>
|
|
589
|
+ </table>
|
578
|
590
|
|
579
|
|
- <br>
|
580
|
|
- <hr>
|
|
591
|
+ <br>
|
|
592
|
+ <hr>
|
|
593
|
+ @endforeach
|
581
|
594
|
@endforeach
|
582
|
|
- @endforeach
|
|
595
|
+ </div>
|
583
|
596
|
@endforeach
|
584
|
597
|
</div>
|
585
|
598
|
</div>
|
586
|
599
|
@endforeach
|
587
|
|
-
|
588
|
|
-
|
589
|
|
-
|
590
|
600
|
@else
|
591
|
601
|
<h4>This program has not assessed any activity</h4>
|
592
|
602
|
@endif
|