<?php $__env->startSection('title', 'Modifcar Tarifa'); ?>
<?php $__env->startSection('content'); ?>
<div class="col-sm-12 col-md-9 col-lg-10 col-xl-10">
    <h3 class="text-center titulo">Modificar Tarifa</h3>
    <div class="borde-forma tamaño-forma">
        <form id="form-update" method="post" accept-charset="utf-8" enctype="multipart/form-data" action="<?php echo e(route('GuardarCambiosTarifaPredio')); ?>">
            <p class="parrafo-forma">
                Los campos marcados con <strong class="requerido">*</strong> son obligatorios.
            </p>
            <input type="hidden" name="id_unico" value="<?php echo e($data->id_unico); ?>">
            <?php echo e(csrf_field()); ?>

            <div class="form-group row">
                <label for="txtNombre" class="col-sm-12 col-form-label col-md-2 col-lg-2 col-xl-2 text-right">
                    <strong class="requerido">*</strong>Nombre:
                </label>
                <div class="col-sm-12 col-md-2 col-lg-2 col-xl-2">
                    <input type="text" name="txtNombre" id="txtNombre" title="Ingrese nombre" class="form-control" placeholder="Nombre"  value="<?php echo e($data->nombre); ?>" required="">
                </div>
                <label for="txtAnno" class="col-sm-12 col-form-label col-md-1 col-lg-1 col-xl-1 text-right">
                    <strong class="requerido">*</strong>Año:
                </label>
                <div class="col-sm-12 col-md-2 col-lg-2 col-xl-2">
                    <input type="text" name="txtAnno" id="txtAnno" title="Ingrese año" class="form-control" placeholder="Año"  required="" value="<?php echo e($data->anio); ?>">
                </div>
                <label for="txtCodigo" class="col-sm-12 col-form-label col-md-2 col-lg-2 col-xl-2 text-right">
                    <strong class="requerido">*</strong>Código:
                </label>
                <div class="col-sm-12 col-md-2 col-lg-2 col-xl-2">
                    <input type="text" name="txtCodigo" id="txtCodigo" title="Ingrese codigo" class="form-control" placeholder="Código"  value="<?php echo e($data->codigo); ?>" required="">
                </div>
            </div>
            <div class="form-group row">
                <label for="txtValor" class="col-sm-12 col-form-label col-md-2 col-lg-2 col-xl-2 text-right">
                    <strong class="requerido">*</strong>Valor:
                </label>
                <div class="col-sm-12 col-md-2 col-lg-2 col-xl-2">
                    <input type="text" name="txtValor" id="txtValor" title="Ingrese valor" class="form-control" placeholder="Valor"  value="<?php echo e($data->valor); ?>" required="">
                </div>
                <label for="txtLimiteI" class="col-sm-12 col-form-label col-md-1 col-lg-1 col-xl-1 text-right">
                    <strong class="requerido">*</strong>Limite Inferior:
                </label>
                <div class="col-sm-12 col-md-2 col-lg-2 col-xl-2">
                    <input type="text" name="txtLimiteI" id="txtLimiteI" title="Ingrese limite inferior" class="form-control" placeholder="Limite Inferior"  value="<?php echo e($data->limiteinferior); ?>" required="">
                </div>
                <label for="txtLimiteS" class="col-sm-12 col-form-label col-md-2 col-lg-2 col-xl-2 text-right">
                    <strong class="requerido">*</strong>Limite Superior:
                </label>
                <div class="col-sm-12 col-md-2 col-lg-2 col-xl-2">
                    <input type="text" name="txtLimiteS" id="txtLimiteS" title="Ingrese limite superior" class="form-control" placeholder="Limite Superior"  value="<?php echo e($data->limitesuperior); ?>" required="">
                </div>
            </div>
            <div class="form-group row">
                <label for="txtBaseI" class="col-sm-12 col-form-label col-md-2 col-lg-2 col-xl-2 text-right">
                    <strong class="requerido">*</strong>Base Impuesto:
                </label>
                <div class="col-sm-12 col-md-2 col-lg-2 col-xl-2">
                    <input type="text" name="txtBaseI" id="txtBaseI" title="Ingrese base impuesto" class="form-control" placeholder="Base Impuesto"  value="<?php echo e($data->baseimpuesto); ?>" required="">
                </div>
                <label for="txtBaseA" class="col-sm-12 col-form-label col-md-1 col-lg-1 col-xl-1 text-right">
                    <strong class="requerido">*</strong>Base Ambiental:
                </label>
                <div class="col-sm-12 col-md-2 col-lg-2 col-xl-2">
                    <input type="text" name="txtBaseA" id="txtBaseA" title="Ingrese base ambiental" class="form-control" placeholder="Base Ambiental"  value="<?php echo e($data->baseambiental); ?>" required="">
                </div>
                <label for="txtPorcentajeI" class="col-sm-12 col-form-label col-md-2 col-lg-2 col-xl-2 text-right">
                    <strong class="requerido">*</strong>% Incremento:
                </label>
                <div class="col-sm-12 col-md-2 col-lg-2 col-xl-2">
                    <input type="text" name="txtPorcentajeI" id="txtPorcentajeI" title="Ingrese porcentaje incremento" class="form-control" placeholder="% Incremento"  value="<?php echo e($data->porcentajeincremento); ?>" required="">
                </div>
            </div>
            <div class="form-group row">
                <label for="txtPorcentajeS" class="col-sm-12 col-form-label col-md-2 col-lg-2 col-xl-2 text-right">
                    <strong class="requerido">*</strong>% Sobretasa:
                </label>
                <div class="col-sm-12 col-md-2 col-lg-2 col-xl-2">
                    <input type="text" name="txtPorcentajeS" id="txtPorcentajeS" title="Ingrese porcentaje sobretasa" class="form-control" placeholder="% Sobretasa"  value="<?php echo e($data->porcentajesobretasa); ?>" required="">
                </div>
                <label for="txtPorcentajeIAm" class="col-sm-12 col-form-label col-md-1 col-lg-1 col-xl-1 text-right">
                    <strong class="requerido">*</strong>% Imp. Ambiental:
                </label>
                <div class="col-sm-12 col-md-2 col-lg-2 col-xl-2">
                    <input type="text" name="txtPorcentajeIAm" id="txtPorcentajeIAm" title="Ingrese porcentaje impuesto ambiental" class="form-control" placeholder="% Imp. Ambiental"  value="<?php echo e($data->porcentajeimpuestoambiental); ?>" required="">
                </div>
                <label for="sltEstrato" class="col-sm-12 col-form-label col-md-2 col-lg-2 col-xl-2 text-right">
                    <strong class="requerido">*</strong>Estrato:
                </label>
                <div class="col-sm-12 col-md-2 col-lg-2 col-xl-2">
                    <select name="sltEstrato" id="sltEstrato" class="form-control select" title="Seleccione estrato" required="">
                        <option value="<?php echo e($data->estrato); ?>"><?php echo e($data->estnombre); ?></option>
                        <?php $__currentLoopData = $estratos; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <option value="<?php echo e($row->id_unico); ?>"><?php echo e($row->nombre); ?></option>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </select>
                </div>
            </div>
            <div class="form-group row">
                <label for="sltLey44" class="col-sm-12 col-form-label col-md-2 col-lg-2 col-xl-2 text-right">
                    <strong class="requerido">*</strong>Ley 44:
                </label>
                <div class="col-sm-12 col-md-2 col-lg-2 col-xl-2">
                    <select name="sltLey" id="sltLey" class="form-control select" title="Seleccione ley 44" required="">
                        <option value="<?php echo e($data->ley44); ?>"><?php echo e($data->nomley); ?></option>
                        <?php $__currentLoopData = $ley; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <option value="<?php echo e($row->id_unico); ?>"><?php echo e($row->nombre); ?></option>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </select>
                </div>
                <label for="sltTipoBaseRango" class="col-sm-12 col-form-label col-md-1 col-lg-1 col-xl-1 text-right">
                    <strong class="requerido">*</strong>Tipo Base Rango:
                </label>
                <div class="col-sm-12 col-md-2 col-lg-2 col-xl-2">
                    <select name="sltTipoBaseRango" id="sltTipoBaseRango" class="form-control select" title="Seleccione tipo base rango" required="">
                        <option value="<?php echo e($data->tipobaserango); ?>"><?php echo e($data->nombase); ?></option>
                        <?php $__currentLoopData = $tipobaserango; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <option value="<?php echo e($row->id_unico); ?>"><?php echo e($row->nombre); ?></option>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </select>
                </div>
                <label for="sltTipoBaseAmbiental" class="col-sm-12 col-form-label col-md-2 col-lg-2 col-xl-2 text-right">
                    <strong class="requerido">*</strong>Tipo Base Ambiental:
                </label>
                <div class="col-sm-12 col-md-2 col-lg-2 col-xl-2">
                    <select name="sltTipoBaseAmbiental" id="sltTipoBaseAmbiental" class="form-control select" title="Seleccione tipo base ambiental" required="">
                        <option value="<?php echo e($data->tipobaseambiental); ?>"><?php echo e($data->nomamb); ?></option>
                        <?php $__currentLoopData = $tipobaseambiental; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <option value="<?php echo e($row->id_unico); ?>"><?php echo e($row->nombre); ?></option>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </select>
                </div>
            </div>
            <div class="form-group row">
                <label for="sltTipoBaseCalculo" class="col-sm-12 col-form-label col-md-2 col-lg-2 col-xl-2 text-right">
                    <strong class="requerido">*</strong>Tipo Base Calculo:
                </label>
                <div class="col-sm-12 col-md-2 col-lg-2 col-xl-2">
                    <select name="sltTipoBaseCalculo" id="sltTipoBaseCalculo" class="form-control select" title="Seleccione tipo base calculo" required="">
                        <option value="<?php echo e($data->tipobasecalculo); ?>"><?php echo e($data->nomcal); ?></option>
                        <?php $__currentLoopData = $tipobasecalculo; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <option value="<?php echo e($row->id_unico); ?>"><?php echo e($row->nombre); ?></option>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </select>
                </div>
                <label for="sltTipoBaseRango" class="col-sm-12 col-form-label col-md-6 col-lg-6 col-xl-6 text-right"></label>
                <div class="col-sm-12 col-md-1 col-lg-1 col-xl-1 text-right">
                    <button type="submit" class="btn btn-primary sombra cursor"><span class="fa fa-save"></span></button>
                </div>
            </div>
        </form>
    </div>
</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layout_forms', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>