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

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

	<section class="content">
		<div class="row">
			<div class="col-md-8 col-md-offset-2">
				<div class="box box-success">
					<div class="box-header">	
						<h3 class="box-title">{{trans('general.edit')}} cliente potencial</h3>
					</div>
					<div class="box-body">
						{!! Form::model($customer, ['method' => 'PATCH', 'url' => 'customers/'.$customer->id]) !!}
						{!! Form::hidden('id', $customer->id) !!}
						@include('customers.form', ['new' => false])
						{!! Form::close() !!}
					</div>
				</div>
			</div>
		</div>
	</section>
</div>
@endsection