<th>Title</th>
                       			<th>Course Designation</th>
                       			<th>Details</th>
                       		</tr>
                       	</thead>
                        <tbody>
                        @foreach($assoOjts as $info)
                       		<tr>
                       			<td>{{$info->job_task_no}}</td>
                       			<td><?php 
$title = CommonFunction::getOjtTitle($info->job_task_no);
?>
{{$title}}</td>
                       			<td>
								<?php 
$ojtL3 = CommonFunction::ojtCourseStatus($info->itscn, $info->job_task_no, $emp_tracker, 'L3');
?>
                    			<?php 
$formalStatus = CommonFunction::formalCourseStatus($info->itscn, $emp_tracker);
?>
								@if($formalStatus&&$ojtL3)
									<span style="color: green">Inspector</span>
								@else 
									<span style="color: red">Trainee</span>
								@endif

                       			</td>
                       			<td>{{ HTML::linkAction('itsOjtController@trineeSingleOjtCourse', 'View',array($info->itscn,$info->job_task_no,$emp_tracker), array('class' => '')) }}</td>
                       		</tr>
                       	@endforeach
                        
                    		@endif

						    </td>						    
										<!--Level -3-->
										
						    <td class="text-center" >



                    		  

						<!--This employee's - this formal course, this ojt level3 status  -->

						<?php 
$ojtL3 = CommonFunction::ojtCourseStatus($data->its_course_number, $info->its_job_task_no, $emp_tracker, 'L3');
?>

                    		<?php 
$validityLevel3 = 0;
?>

                    		@if(!$ojtL3)

                    			@if($ojtL2 )

	                    		Not Done

	                    		

	                    		@else