@extends(Auth::check() && Auth::user()->role->layout == 1 ? 'layouts.admin' : 'layouts.employee')

@section('content')
<div class="content-wrapper">
	<section class="content-header">
		<h1>
		Cliente potencial
		</h1>
	</section>

	<section class="content">
		<a class="btn btn-app btn-flat bg-green" href="{{ asset('/customers/'.$customer->id.'/edit') }}"><i class="fa fa-edit"></i> {{trans('general.edit')}}</a>
		<div class="row">
			<div class="col-md-9">
				<div class="row">
					<div class="col-md-12">
						<div class="box box-success">
							<div class="box-header">
								<h3 class="box-title">Cliente potencial {{trans('general.detalle')}} </h3>
							</div>
							<div class="box-body no-padding">
								<table class="table">
									<tbody>
									<tr>
										<td style="width: 10px" class="text-center"><i class="fa fa-user"></i></td>
										<td><strong>Nombre</strong></td>
										<td>{{ $customer->first_name }} {{ $customer->last_name }}</td>
									</tr>
									<tr>
										<td style="width: 10px" class="text-center"><i class="fa fa-envelope-o"></i></td>
										<td><strong>Email</strong></td>
										<td>{{ $customer->email }}</td>
									</tr>
									<tr>
										<td style="width: 10px" class="text-center"><i class="fa fa-phone"></i></td>
										<td><strong>{{trans('general.telefono')}}</strong></td>
										<td>{{ $customer->telephone }}</td>
									</tr>
									<tr>
										<td style="width: 10px" class="text-center"><i class="fa fa-mobile-phone"></i></td>
										<td><strong>{{trans('general.movil')}}</strong></td>
										<td>{{ $customer->cellphone }}</td>
									</tr>

									<tr>
										<td style="width: 10px" class="text-center"><i class="fa fa-pencil"></i></td>
										<td><strong>Comentarios</strong></td>
										<td>{{ $customer->comment }}</td>
									</tr>

									</tbody>
								</table>
							</div>
						</div>
					</div>
				</div>
				<div class="row">
				</div>
			</div>
		</div>
	</section>
</div>
@endsection