<?php echo csrf_field(); ?>
<div class='row'>
  <div class="col-md-12 col-sm-12  ">
    <div class="x_panel">
      <!--<div class="x_title">
        <h2>subtitulo</h2>
        <ul class="nav navbar-right panel_toolbox">
          <li><a class="collapse-link"><i class="fa fa-chevron-up"></i></a>
          </li>
          <li class="dropdown">
            <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false"><i class="fa fa-wrench"></i></a>
            <div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
                <a class="dropdown-item" href="#">Settings 1</a>
                <a class="dropdown-item" href="#">Settings 2</a>
              </div>
          </li>
          <li><a class="close-link"><i class="fa fa-close"></i></a>
          </li>
        </ul>
        <div class="clearfix"></div>
      </div>-->
      <div class="x_content">
        
        <form id='form-nuevo' action="javascript:catalogo_validar();">
          
          <div class="row form-group">
            <div class="col-lg-4 col-md-3 col-sm-12 text-md-right text-sm-left font-weight-bolder"><label class="pt-1" for='anio'>Año de Vigencia:</label></div>
            <div class="col-lg-4 col-md-8 col-sm-12">
              <input type="text" class="form-control form-control-sm text-center" required="required" id="anio" name="anio" required="required" <?php if($anio==""): ?>
                value="<?php echo e(Carbon\Carbon::now()->format('Y')); ?>"
              <?php else: ?>
                value='<?php echo e($anio+1); ?>'
              <?php endif; ?>  readonly="readonly" />
            </div>
          </div>

          <div class="row form-group">
            <div class="col-lg-12 col-md-12 col-sm-12 text-center font-weight-bolder"><label class="pt-1">Periodo de Elaboración</label></div>
          </div>

          <div class="row form-group">
            <div class="col-lg-4 col-md-3 col-sm-12 text-md-right text-sm-left font-weight-bolder"><label class="pt-1" for='fecha_inicio'>Fecha de Inicio:</label></div>
            <div class="col-lg-4 col-md-8 col-sm-12">
              <input type="date" class="form-control form-control-sm" required="required" id="fecha_inicio" name="fecha_inicio" required="required" />
            </div>
          </div>

          <div class="row form-group">
            <div class="col-lg-4 col-md-3 col-sm-12 text-md-right text-sm-left font-weight-bolder"><label class="pt-1" for='fecha_termino'>Fecha de Termino:</label></div>
            <div class="col-lg-4 col-md-8 col-sm-12">
              <input type="date" class="form-control form-control-sm" required="required" id='fecha_termino' name="fecha_termino" required="required" />
            </div>
          </div>

          <div class="row mt-5">
            <div class="col-md-3 col-sm-12"></div>
            <div class="col-md-6 col-sm-12">
              <div class="row">
                <div class="col">
                  <button type="submit" class="btn btn-outline-success btn-block"><i class="fa fa-save"></i> Guardar</button>
                </div>
                <div class="col">
                  <button type="button" class="btn btn-outline-dark btn-block" onclick="javascript:catalogo_listado();"><i class="fa fa-times"></i> Cancelar</button>
                </div>
              </div>
            </div>
            <div class="col-md-3 col-sm-12"></div>
          </div>

        </form>
        
      </div>
    </div>
  </div>
</div>


<?php /**PATH /home/itzitacu/public_html/poa/laravel/resources/views/orden_compra/catalogo/nuevo.blade.php ENDPATH**/ ?>