<th>Level-2</th> <th>Level-3</th> <th>Designation</th> <th>Update This OJT</th> </tr> </thead> <tbody> @if($assingedFormalCourses) @foreach($assingedFormalCourses as $data) <!--Get All The Job tasks of this Course--> <?php $ojtTasks = CommonFunction::getOjtTask($data->its_course_number); ?> @foreach ($ojtTasks as $info) <tr> <!--Formal Course --> <td > {{'['.$info->its_course_number.'] ' .$data->its_course_title}} | <?php $formalStatus = CommonFunction::formalCourseStatus($data->its_course_number, $emp_tracker); ?> <?php $validityFormal = 0; ?> @if(!$formalStatus) Not Done
<th class="text-center">OJT Task</th> <th class="text-center">Level-1</th> <th class="text-center">Level-2</th> <th class="text-center">Level-3</th> <th class="text-center">OJTD & Details</th> </tr> </tfoot> <tbody> @foreach($itsAssignedFormal as $info) <!--itscn,emp_tracker--> <?php $allJobTask = CommonFunction::getOjtTask($info->itscn); ?> <!--job task--> <!--info(itscn,emp_tracker),job task--> @foreach ($allJobTask as $task) <tr> <td class="text-center"><!--Emp Name--> <?php $name = CommonFunction::getEmployeeName($info->emp_tracker); ?> @if($name) {{$name }} @else Employee Removed