<table  class="table table-hover">
	<thead class="thead-light">
		<tr>
			<th><?php echo _('Surname'); ?></th>
			<th><?php echo _('Name'); ?></th>
			<th><?php echo _('Number'); ?></th>
			<th><?php echo _('Message'); ?></th>
			<th class="text-center"><?php echo _('Delivered'); ?></th>
			<th class="text-right"><?php echo _('Sent (GMT)'); ?></th>
			<th width="1%"></th>
		</tr>
	</thead>
	
	<tbody>
		<?php foreach($this->view->trackers as $tracker): ?>
			<tr>
				<td><?php echo $tracker['surname']; ?></td>
				<td><?php echo $tracker['name']; ?></td>
				<td><?php echo $tracker['phone_to']; ?></td>
				<td><?php echo $tracker['phone_msg']; ?></td>
				<td class="text-center"><?php echo $this->helper->setYesNo($tracker['request_result']); ?></td>
				<td class="text-right"><?php echo $this->helper->getDateString($tracker['created_at']); ?></td>
				<td><button type="button" class="btn btn-outline-dark btn-sm"><span class="icon-eye"></span></button></td>
			</tr>
		<?php endforeach; ?>
	</tbody>
</table>