Ejemplo n.º 1
0
					
                    <table class="table table-bordered">
                       	<thead>
                       		<tr>
                       			<th>JOb Task No.</th>
                       			<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