@extends('layout')
@section('title', 'Registrar Tarifa')
@section('content')
<div class="col-sm-12 col-md-9 col-lg-10 col-xl-10">
    <h3 class="text-center titulo">Registrar Tarifa</h3>
    <div class="borde-forma tamaño-forma">
        <form id="form-update" method="post" accept-charset="utf-8" enctype="multipart/form-data" action="{{ route('GuardarTarifaPredio') }}">
            <p class="parrafo-forma">
                Los campos marcados con <strong class="requerido">*</strong> son obligatorios.
            </p>
            {{ 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"  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="">
                </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"  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"  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"  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"  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"  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"  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"  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"  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"  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="">Estrato</option>
                        @foreach($estratos as $row)
                            <option value="{{ $row->id_unico }}">{{ $row->nombre }}</option>
                        @endforeach
                    </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="">Ley 44</option>
                        @foreach($ley as $row)
                            <option value="{{ $row->id_unico }}">{{ $row->nombre }}</option>
                        @endforeach
                    </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="">Tipo Base Rango</option>
                        @foreach($tipobaserango as $row)
                            <option value="{{ $row->id_unico }}">{{ $row->nombre }}</option>
                        @endforeach
                    </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="">Tipo Base Ambiental</option>
                        @foreach($tipobaseambiental as $row)
                            <option value="{{ $row->id_unico }}">{{ $row->nombre }}</option>
                        @endforeach
                    </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="">Tipo Base Calculo</option>
                        @foreach($tipobasecalculo as $row)
                            <option value="{{ $row->id_unico }}">{{ $row->nombre }}</option>
                        @endforeach
                    </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>
@stop