PluginProbe
ShiftController Employee Shift Scheduling / 4.9.67
ShiftController Employee Shift Scheduling v4.9.67
4.9.97 4.9.96 4.9.95 4.9.74 4.9.75 4.9.76 4.9.77 4.9.78 4.9.84 4.9.85 4.9.87 4.9.91 4.9.92 trunk 2.1.0 2.1.1 2.1.2 2.2.0 2.2.1 2.2.2 2.2.3 2.2.4 2.2.5 2.2.6 3.2.4 All 38 releases
← All changes | sh4/schedule/html/view/controloptions.php +11 -8 4.9.914.9.67 View file →
@@ -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;