<div class="entry-edit">
	<div class="entry-edit-head">
		<h4><?php echo $this->__('Status change history')?></h4>
	</div>
	<div class="fieldset">
		<?php if($this->getCollection()->count()): ?>
			<div class="hor-scroll">
				<table class="form-list" cellspacing="0">
					<thead>
						<tr>
							<th><?php echo $this->__("Date")?></th>
							<th><?php echo $this->__("Department/Customer");?></th>
							<th><?php echo $this->__("Status");?></th>
						</tr>
					</thead>
					<tbody>
						<?php foreach($this->getCollection() as $entry): ?>
							<tr>
								<td class="label"><?php echo $this->formatDate($entry->getDate())?> <?php echo $this->formatTime($entry->getDate())?></td>
								<td class="label"><?php echo $this->getChangerName($entry);?></td>
								<td><?php echo $this->__(AW_Helpdeskultimate_Model_Status::getOption($entry->getData('custom_field_2')))?></td>
							</tr>		
						<?php endforeach; ?>
					</tbody>
				</table>	
			</div>
		<?php else:?>
			<center><?php echo $this->__("No status change history");?></center>
		<?php endif; ?>	
	</div>
</div>

