<div class="modal fade" id="editarRECLZ{{$var->id}}" style="background-color:rgb(255, 255, 255, 0.0);">
    <div class="modal-dialog">
      <div class="modal-content">
      
        <!-- Modal Header -->
        <div class="modal-header">
          <img src="{{asset('img/logo_CIE.png')}}" alt="" width="70px"><h4 class="modal-title ml-5">Editar Rectificacion</h4><small class="ml-3 mt-1">Lázaro Cárdenas</small>
          <button type="button" class="close" data-dismiss="modal">×</button>
        </div>
        
        <!-- Modal body -->
        <div class="modal-body">
          <div class="container">

            <form action="">@csrf
              <div class="row">

                <input type="hidden" id="id_reclzedit{{$var->folio}}" value="{{$var->folio}}">
                  
                <div class="col-md-12">
                  <label class="">Cliente</label><br>
                  <div class="input-group flex-nowrap">
                    <div class="input-group-prepend">
                      <span class="input-group-text" id="addon-wrapping" style="font-size:25px;"><i class="icon-user"></i></span>
                    </div>
                      <select class="form-control inputs-ref-rec" id="clientelzeditrec{{$var->id}}" name="cliente">
                          @foreach ($Clnts as $var1)
                              @if ($var->cliente == $var1->nombre)
                                <option value="{{$var1->nombre}}">{{$var1->nombre}}</option>
                              @endif
                          @endforeach
                          @foreach ($Clnts as $var1)
                            @if ($var->cliente != $var1->nombre)
                              <option value="{{$var1->nombre}}">{{$var1->nombre}}</option>
                            @endif
                          @endforeach
                      </select><br>
                  </div>
                </div>

                <div class="col-md-12">
                    <label class="">Con cargo a:</label><br>
                    <div class="input-group flex-nowrap">
                      <div class="input-group-prepend">
                        <span class="input-group-text" id="addon-wrapping" style="font-size:25px;"><i class="icon-user"></i></span>
                      </div>
                        <select class="form-control inputs-ref-rec" id="cargolzeditrec{{$var->id}}" name="cargo">
                          @if ($var->cargo == "Cliente")
                            <option value="Cliente">Cliente</option>
                            <option value="Empledo">Empledo</option>
                            <option value="Empresa">Empresa</option>
                          @endif
                          @if ($var->cargo == "Empledo")
                              <option value="Empledo">Empledo</option>
                              <option value="Cliente">Cliente</option>
                              <option value="Empresa">Empresa</option>
                          @endif
                          @if ($var->cargo == "Empresa")
                              <option value="Empresa">Empresa</option>
                              <option value="Cliente">Cliente</option>
                              <option value="Empledo">Empledo</option>
                          @endif
                          @if ($var->cargo != "Cliente" && $var->cargo != "Empledo" && $var->cargo != "Empresa")
                              <option value="Cliente">Cliente</option>
                              <option value="Empledo">Empledo</option>
                              <option value="Empresa">Empresa</option>
                          @endif
                        </select><br>
                    </div>
                </div>

                <div class="col-md-12">
                    <label class="">Especificar rectificación</label><br>
                    <div class="input-group flex-nowrap">
                      <div class="input-group-prepend">
                        <span class="input-group-text" id="addon-wrapping" style="font-size:25px;"><i class="icon-user"></i></span>
                      </div>
                        <textarea name="especificar" class="form-control inputs-ref-rec" id="especificarlzeditrec{{$var->id}}">{{$var->especificar}}</textarea>
                    </div>
                </div>

                <div class="col-md-6 offset-3 mt-3">
                  <button class="btn btn-primary form-control btn-sm col-md-10" onclick="editar_recLZ{{$var->id}}()" type="button">Guardar</button>
                </div>
              </div>
            </form>

          </div>
        </div>
        
        <!-- Modal footer -->
        <div class="modal-footer">
          <button type="button" class="btn btn-danger" data-dismiss="modal">Cerrar</button>
        </div>
        
      </div>
    </div>
</div>