<section class="tile">
    <div class="tile-header dvd dvd-btm">
        <h1 class="custom-font text-elg">Datos Generales</h1>
    </div>
    <div class="tile-body text-md">
        {!! Form::model($general,array('url' => 'foo/bar')) !!}
        <div class="row">
            <div class="col-md-3">
                <div class="form-group">
                    {!!  Form::label('poliza','Póliza')   !!}
                    {!!  Form::text('poliza',null, ['class' => 'form-control','readonly','placeholder' => ''])  !!}
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-md-6">
                <div class="form-group">
                    {!!  Form::label('nombre','Nombre Completo')   !!}
                    {!!  Form::text('nombre',null, ['class' => 'form-control','readonly','placeholder' => ''])  !!}
                </div>
            </div>
            <div class="col-md-3">
                <div class="form-group">
                    {!!  Form::label('fecha_nac','Fecha de Nacimiento')   !!}
                    {!!  Form::text('fecha_nac',null, ['class' => 'form-control','readonly','placeholder' => ''])  !!}
                </div>
            </div>
            <div class="col-md-3">
                <div class="form-group">
                    {!!  Form::label('rfc','RFC')   !!}
                    {!!  Form::text('rfc',null, ['class' => 'form-control','readonly','placeholder' => ''])  !!}
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-md-4">
                <div class="form-group">
                    {!!  Form::label('curp','CURP')   !!}
                    {!!  Form::text('curp',null, ['class' => 'form-control','readonly','placeholder' => ''])  !!}
                </div>
            </div>
            <div class="col-md-2">
                <div class="form-group">
                    {!!  Form::label('sexo','Sexo')   !!}
                    {!!  Form::text('sexo',strcmp('M',$general -> sexo)==0?'MASCULINO':'FEMENINO', ['class' => 'form-control','readonly','placeholder' => ''])  !!}
                    {{--         <label for="detalleFechaNacimiento">Sexo</label>
                             <select class="form-control mb-10" disabled>
                             </select>--}}
                </div>
            </div>
            <div class="col-md-2">
                <div class="form-group">
                    {!!  Form::label('estado_civil','Estado Civil')   !!}
                    {!!  Form::text('estado_civil',$estado_civil, ['class' => 'form-control','readonly','placeholder' => ''])  !!}
                    {{-- <label for="detalleRFC">Estado Civil</label>
                     <select class="form-control mb-10" disabled>
                     </select>--}}
                </div>
            </div>
            <div class="col-md-4">
                <div class="form-group">
                    {!!  Form::label('lugar_nac','Lugar de Nacimiento')   !!}
                    {!!  Form::text('lugar_nac',null, ['class' => 'form-control','readonly','placeholder' => ''])  !!}
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-md-3">
                <div class="form-group">
                    {!!  Form::label('telefono','Teléfono')   !!}
                    {!!  Form::text('telefono',null, ['class' => 'form-control','readonly','placeholder' => ''])  !!}
                </div>
            </div>
            <div class="col-md-3">
                <div class="form-group">
                    {!!  Form::label('celular','Celular')   !!}
                    {!!  Form::text('celular',null, ['class' => 'form-control','readonly','placeholder' => ''])  !!}
                </div>
            </div>
            <div class="col-md-4">
                <div class="form-group">
                    {!!  Form::label('email','E-mail')   !!}
                    {!!  Form::text('email',null, ['class' => 'form-control','readonly','placeholder' => ''])  !!}
                </div>
            </div>
        </div>
        <hr class="mr-5 ml-5 line-full"/>
        <div class="row">
            <div class="col-md-6">
                <div class="form-group">
                    {!!  Form::label('calle','Calle')   !!}
                    {!!  Form::text('calle',null, ['class' => 'form-control','readonly','placeholder' => ''])  !!}
                </div>
            </div>
            <div class="col-md-1">
                <div class="form-group">
                    {!!  Form::label('no_ext','No. Ext.')   !!}
                    {!!  Form::text('no_ext',null, ['class' => 'form-control','readonly','placeholder' => ''])  !!}
                </div>
            </div>
            <div class="col-md-1">
                <div class="form-group">
                    {!!  Form::label('no_int','No. Int.')   !!}
                    {!!  Form::text('no_int',null, ['class' => 'form-control','readonly','placeholder' => ''])  !!}
                </div>
            </div>
            <div class="col-md-4">
                <div class="form-group">
                    {!!  Form::label('colonia','Colonia')   !!}
                    {!!  Form::text('colonia',null, ['class' => 'form-control','readonly','placeholder' => ''])  !!}
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-md-6">
                <div class="form-group">
                    {!!  Form::label('poblacion','Población')   !!}
                    {!!  Form::text('poblacion',null, ['class' => 'form-control','readonly','placeholder' => ''])  !!}
                </div>
            </div>
            <div class="col-md-4">
                <div class="form-group">
                    {!!  Form::label('estado','Estado')   !!}
                    {!!  Form::text('estado',null, ['class' => 'form-control','readonly','placeholder' => ''])  !!}
                    {{--<label for="detalleEstado">Estado</label>--}}
                    {{--<select class="form-control mb-10" disabled>--}}
                    {{--</select>--}}
                </div>
            </div>
            <div class="col-md-2">
                <div class="form-group">
                    {!!  Form::label('cp','C.P.')   !!}
                    {!!  Form::text('cp',null, ['class' => 'form-control','readonly','placeholder' => ''])  !!}
                </div>
            </div>
        </div>
        <hr class="mr-5 ml-5 line-full"/>
        <h1 class="custom-font text-lg"><strong>Empresa</strong></h1>

        <div class="row">
            <div class="col-md-5">
                <div class="form-group">
                    {!!  Form::label('empresa','Nombre')   !!}
                    {!!  Form::text('empresa',null, ['class' => 'form-control','readonly','placeholder' => ''])  !!}
                </div>
            </div>
            <div class="col-md-2">
                <div class="form-group">
                    {!!  Form::label('no_empleado','No. Empleado')   !!}
                    {!!  Form::text('no_empleado',null, ['class' => 'form-control','readonly','placeholder' => ''])  !!}
                </div>
            </div>
            <div class="col-md-2">
                <div class="form-group">
                    {!!  Form::label('sueldo','Sueldo')   !!}
                    {!!  Form::text('sueldo',null, ['class' => 'form-control','readonly','placeholder' => ''])  !!}
                </div>
            </div>
            <div class="col-md-3">
                <div class="form-group">
                    {!!  Form::label('ocupacion','Ocupación')   !!}
                    {!!  Form::text('ocupacion',null, ['class' => 'form-control','readonly','placeholder' => ''])  !!}
                </div>
            </div>


        </div>
        <div class="row">
            <div class="col-md-3">
                <div class="form-group">
                    {!!  Form::label('lab_tel','Teléfono')   !!}
                    {!!  Form::text('lab_tel',null, ['class' => 'form-control','readonly','placeholder' => ''])  !!}
                </div>
            </div>
        </div>
        <h1 class="custom-font text-lg"><strong>Dirección</strong></h1>

        <div class="row">
            <div class="col-md-5">
                <div class="form-group">
                    {!!  Form::label('lab_calle','Calle')   !!}
                    {!!  Form::text('lab_calle',null, ['class' => 'form-control','readonly','placeholder' => ''])  !!}
                </div>
            </div>
            <div class="col-md-2">
                <div class="form-group">
                    {!!  Form::label('lab_num_ext','No. Ext')   !!}
                    {!!  Form::text('lab_num_ext',null, ['class' => 'form-control','readonly','placeholder' => ''])  !!}
                </div>
            </div>
            <div class="col-md-2">
                <div class="form-group">
                    {!!  Form::label('lab_num_int','No. Int')   !!}
                    {!!  Form::text('lab_num_int',null, ['class' => 'form-control','readonly','placeholder' => ''])  !!}
                </div>
            </div>
            <div class="col-md-3">
                <div class="form-group">
                    {!!  Form::label('lab_col','Colonia')   !!}
                    {!!  Form::text('lab_col',null, ['class' => 'form-control','readonly','placeholder' => ''])  !!}
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-md-4">
                <div class="form-group">
                    {!!  Form::label('lab_deleg','Delegación')   !!}
                    {!!  Form::text('lab_deleg',null, ['class' => 'form-control','readonly','placeholder' => ''])  !!}
                </div>
            </div>
            <div class="col-md-3">
                <div class="form-group">
                    {!!  Form::label('lab_estado','Estado')   !!}
                    {!!  Form::text('lab_estado',null, ['class' => 'form-control','readonly','placeholder' => ''])  !!}
                </div>
            </div>
            <div class="col-md-3">
                <div class="form-group">
                    {!!  Form::label('lab_ciudad','Ciudad')   !!}
                    {!!  Form::text('lab_ciudad',null, ['class' => 'form-control','readonly','placeholder' => ''])  !!}
                </div>
            </div>
            <div class="col-md-2">
                <div class="form-group">
                    {!!  Form::label('lab_cp','C.P.')   !!}
                    {!!  Form::text('lab_cp',null, ['class' => 'form-control','readonly','placeholder' => ''])  !!}
                </div>
            </div>
        </div>
        <hr class="mr-5 ml-5 line-full"/>
        <h1 class="custom-font text-lg"><strong>Plan</strong></h1>
        <div class="row">
            <div class="col-md-3">
                <div class="form-group">
                    {!!  Form::label('plan','Plan')   !!}
                    {!!  Form::text('plan',null, ['class' => 'form-control','readonly','placeholder' => ''])  !!}
                </div>
            </div>
            <div class="col-md-3">
                <div class="form-group">
                    {!!  Form::label('ult_agente','No. Último Agente')   !!}
                    {!!  Form::text('ult_agente',null, ['class' => 'form-control','readonly','placeholder' => ''])  !!}
                </div>
            </div>
            <div class="col-md-4">
                <div class="form-group">
                    {!!  Form::label('ult_agente_nombre','Nombre Último Agente')   !!}
                    {!!  Form::text('ult_agente_nombre',$ult_agente -> Nombre, ['class' => 'form-control','readonly','placeholder' => ''])  !!}
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-md-4">
                <div class="form-group">
                    {!!  Form::label('sub_zona', 'Sub Zona')   !!}
                    {!!  Form::text('sub_zona', null, ['id' => 'sub_zona','class' => 'form-control','readonly','placeholder' => 'Sub Zona'])  !!}
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-md-6">
                <div class="form-group">
                    {!!  Form::label('zona_prom', 'Zona')   !!}
                    {!!  Form::text('zona_prom', null, ['id' => 'zona_prom','class' => 'form-control','readonly','placeholder' => 'Zona'])  !!}
                </div>
            </div>
        </div>

        {!! Form::close() !!}
    </div>
    <div class="tile-footer">
        <div class="tile-button pull-right">
            <a class="btn btn-lightred btn-ef btn-ef-4 btn-ef-4c " role="button"  onclick="irCartera('{{ $venta-> poliza }}')" ><i class="fa fa-arrow-left"></i>Regresar</a>
        </div>
    </div>
</section>