<?php $__env->startSection('content'); ?>

    <div class="sixteen wide tablet fifteen wide computer column ">
        <div class="ui segment">
            
            <h4 class="ui dividing header teal centered">DATOS DE MI EMPRESA</h4>
            <br>

            <form class="ui form" id="frmEditar" autocomplete="off">
                <input type="hidden" id="id_empresa" name="id_empresa" value="<?php echo e($data->id_empresa); ?>">
                <div class="field">
                    <div class="field">
                        <label>Razon Social</label>
                        <div class="ui small input ">
                          <input type="text" name="razon_social" maxlength="200" oninput="$.upperCase(this)" value="<?php echo e($data->razon_social); ?>">
                        </div>
                    </div>
                </div>

                <div class="two fields">
                    <div class="field">
                        <label>RUC</label>
                        <div class="ui small input ">
                          <input type="text" name="ruc" maxlength="11" value="<?php echo e($data->ruc); ?>">
                        </div>
                    </div>
                    <div class="field">
                        <label>N° Autorizacion SUNAT</label>
                        <div class="ui small input ">
                          <input type="text" name="autorizacion" maxlength="50" oninput="$.upperCase(this)" value="<?php echo e($data->autorizacion); ?>">
                        </div>
                    </div>
                </div>
                
                <div class="two fields">
                    <div class="field">
                        <label>Representante Legal</label>
                        <div class="ui small input ">
                          <input type="text" name="representante" maxlength="100" oninput="$.upperCase(this)" value="<?php echo e($data->representante); ?>">
                        </div>
                    </div>
                    <div class="field">
                        <label>DNI de representante</label>
                        <div class="ui small input ">
                          <input type="text" name="dni" maxlength="8" value="<?php echo e($data->dni); ?>">
                        </div>
                    </div>
                </div>

                <div class="two fields">
                    <div class="field">
                        <label>Telefono de la empresa</label>
                        <div class="ui small input ">
                          <input type="text" name="telefono"  maxlength="15" value="<?php echo e($data->telefono); ?>">
                        </div>
                    </div>
                    <div class="field">
                        <label>Direccion de la empresa</label>
                        <div class="ui small input ">
                          <input type="text" name="direccion" maxlength="100" oninput="$.upperCase(this)" value="<?php echo e($data->direccion); ?>">
                        </div>
                    </div>
                </div> 

                <div class="two fields">
                    <div class="field">
                        <label>Pagina Web</label>
                        <div class="ui small input ">
                          <input type="text" name="pagina_web" maxlength="50" value="<?php echo e($data->pagina_web); ?>">
                        </div>
                    </div>
                    <div class="field">
                        <label>Email de la empresa</label>
                        <div class="ui small input ">
                          <input type="text" name="email" maxlength="50" value="<?php echo e($data->email); ?>">
                        </div>
                    </div>
                </div> 


                <div class="form_footer">
                    <div class="ui right floated primary button btn_guardar"><i class="save icon"></i>GUARDAR</div>
                </div>    
            </form>

        </div>
    </div>

    <!--start update modal -->
    <div class="ui small basic modal" id="update_modal">
        <div class="ui icon header"><i class="paper plane icon"></i>Guardar cambios</div>
        <div class="content" style="text-align: center; font-size: 16px">
          <p>¿Está seguro que quiere guardar los cambios que hizo?</p>
        </div>
        <div class="actions">
            <div class="ui red basic cancel inverted button" title="Haga clic para salir"><i class="remove icon"></i>Cancelar</div>
            <div class="ui green ok inverted button" title="Haga clic para guardar cambios"> <i class="checkmark icon"></i>Guardar</div>
        </div>
    </div>
    <!--end update modal -->
    
<?php $__env->stopSection(); ?>

<?php $__env->startSection('scripts'); ?>
    <script src="<?php echo e(asset('js/empresa/editar.js')); ?>"></script>
<?php $__env->stopSection(); ?>



<?php echo $__env->make('layout.main', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>