Ejemplo n.º 1
0
		<th>Task Name</th>
		<th>Vaccine Name</th>
		<th>Initiate Date</th>
		<th>Expected End Date</th>
		<th>Actual End Date</th>
		<th>Initiator Name</th>
		<th>Valid</th>
		<th>Action</th>
	</tr>
 <?php 
 foreach($tasks as $task){?>
 <tr>
 	<td>
 		<?php
 			$task_id = $task->task_id;
			$task_name = Tasks::get_task_name($task_id);
			echo ($task_name[0]["name"]) ;
 		?>
 		
 	</td>
 	<td>
 		<?php
 			
 			$vacc_id = $task->vaccine_id;
			$vacc_name = Vaccines::get_Name($vacc_id);
			echo($vacc_name["Name"]) ;
 		?>
 		
 	</td>
 <td>
 <?php echo $task->Initiate_date;?>