| @@ -100,16 +100,8 @@ | ||
| 100 | 100 | $to = $this->uriAction->makeUrl( array($slug, $thisParams) ); |
| 101 | 101 | $options['download'] = $this->ui->makeAhref( $to, '__Download__' ) |
| 102 | 102 | ->tag('tab-link') |
| 103 | 103 | ; |
| 104 | - | |
| 105 | - $thisParams = $toParams; | |
| 106 | - $thisParams['download'] = 1; | |
| 107 | - $thisParams['report'] = 1; | |
| 108 | - $to = $this->uriAction->makeUrl( array($slug, $thisParams) ); | |
| 109 | - $options['downloadreport'] = $this->ui->makeAhref( $to, '__Download report__' ) | |
| 110 | - ->tag('tab-link') | |
| 111 | - ; | |
| 112 | 104 | } |
| 113 | 105 | |
| 114 | 106 | if( ! array_intersect(array('print', 'all'), $hideui) ){ |
| 115 | 107 | $thisParams = $toParams; |
| @@ -253,8 +245,19 @@ | ||
| 253 | 245 | $eView = $this->ui->makeAhref( array($slug, $thisParams), $label ) |
| 254 | 246 | ->tag('tab-link') |
| 255 | 247 | ; |
| 256 | 248 | $toSelectView[] = $eView; |
| 249 | + | |
| 250 | + // if( 0 == $e->getId() ){ | |
| 251 | + // $thisParams = $toParams; | |
| 252 | + // $thisParams['employee'][] = $assignedShiftEmployee->getId(); | |
| 253 | + | |
| 254 | + // $label = $assignedShiftEmployee->getTitle(); | |
| 255 | + // $eView = $this->ui->makeAhref( array($slug, $thisParams), $label ) | |
| 256 | + // ->tag('tab-link') | |
| 257 | + // ; | |
| 258 | + // $toSelectView[] = $eView; | |
| 259 | + // } | |
| 257 | 260 | } |
| 258 | 261 | |
| 259 | 262 | if( ! ($selectedEmployees OR $toSelectView) ){ |
| 260 | 263 | return $return; |