| Línea 207... |
Línea 207... |
| 207 |
'actions' => [
|
207 |
'actions' => [
|
| 208 |
'link_delete' => $allowDelete ? $link_delete : '',
|
208 |
'link_delete' => $allowDelete ? $link_delete : '',
|
| 209 |
]
|
209 |
]
|
| 210 |
];
|
210 |
];
|
| 211 |
if($testSelf) {
|
211 |
if($testSelf) {
|
| 212 |
$item['actions']['link_report_self'] = $this->url()->fromRoute('performance-evaluation/evaluations/reportSelf', ['id' => $record['uuid'] ]);
|
212 |
$item['actions']['link_report_self'] = $this->url()->fromRoute('performance-evaluation/evaluations/report-self', ['id' => $record['uuid'] ]);
|
| 213 |
} else{
|
213 |
} else{
|
| 214 |
$item['actions']['link_self'] = $this->url()->fromRoute('performance-evaluation/evaluations/self', ['id' => $record['uuid'] ]);
|
214 |
$item['actions']['link_self'] = $this->url()->fromRoute('performance-evaluation/evaluations/self', ['id' => $record['uuid'] ]);
|
| 215 |
}
|
215 |
}
|
| 216 |
if($testBoth) {
|
216 |
if($testBoth) {
|
| 217 |
$item['actions']['link_report_both'] = $this->url()->fromRoute('performance-evaluation/evaluations/reportBoth', ['id' => $record['uuid'] ]);
|
217 |
$item['actions']['link_report_both'] = $this->url()->fromRoute('performance-evaluation/evaluations/report-both', ['id' => $record['uuid'] ]);
|
| 218 |
} else{
|
218 |
} else{
|
| 219 |
$item['actions']['link_both'] = $this->url()->fromRoute('performance-evaluation/evaluations/both', ['id' => $record['uuid'] ]);
|
219 |
$item['actions']['link_both'] = $this->url()->fromRoute('performance-evaluation/evaluations/both', ['id' => $record['uuid'] ]);
|
| 220 |
}
|
220 |
}
|
| 221 |
if($testSupervisor) {
|
221 |
if($testSupervisor) {
|
| 222 |
$item['actions']['link_report_superviser'] = $this->url()->fromRoute('performance-evaluation/evaluations/reportSuperviser', ['id' => $record['uuid'] ]);
|
222 |
$item['actions']['link_report_superviser'] = $this->url()->fromRoute('performance-evaluation/evaluations/report-superviser', ['id' => $record['uuid'] ]);
|
| 223 |
} else{
|
223 |
} else{
|
| 224 |
$item['actions']['link_superviser'] = $this->url()->fromRoute('performance-evaluation/evaluations/superviser', ['id' => $record['uuid'] ]);
|
224 |
$item['actions']['link_superviser'] = $this->url()->fromRoute('performance-evaluation/evaluations/superviser', ['id' => $record['uuid'] ]);
|
| 225 |
}
|
225 |
}
|
| Línea 226... |
Línea 226... |
| 226 |
|
226 |
|