<table class="table table-striped table-hover">
	<tr <?php if($errors->first('customer_id')) echo 'class="error"'; ?>>
		<td style="width:300px">Client *</td>
		<td>
			<?php echo  Form::select('customer_id', $customers, Input::old('customer_id', (isset($customer_scan) ? $customer_scan->customer_id : NULL)),array('style'=>'width:95%')); ; ?>
			<?php echo  $errors->first('customer_id', '<span class="help-inline">:message</span>') ; ?>
		</td>
	</tr>
	<tr <?php if($errors->first('date')) echo 'class="error"'; ?>>
		<td style="width:300px">Scanné le *</td>
		<td>
			<?php echo  Form::text('date', Input::old('date', (isset($customer_scan) ? $customer_scan->date : NULL)),array('placeholder'=>'Ex : 2014-09-01 10:00:00')); ; ?>
			<?php echo  $errors->first('date', '<span class="help-inline">:message</span>') ; ?>
		</td>
	</tr>
	
	<?php if($customer_scan): ?>
	<tr>
		<td style="width:300px">Date d'ajout</td>
		<td><?php echo $customer_scan->created_at; ?></td>
	</tr>
	<tr>
		<td style="width:300px">Dernière modification</td>
		<td><?php echo $customer_scan->updated_at; ?></td>
	</tr>
	<?php endif; ?>
</table>