<div class="card-body row mb-4">
    

    <p class="text-center h4 m-0 ">Informacion tecnica de antena </p>

    
    <div class="col-sm-6 col-lg-4">
        <label for="nombre_equipo" class="col-form-label">Nombre del equipo</label>

        <input class="form-control" id="nombre_equipo" name="nombre_equipo" placeholder="Ingrese el nombre del equipo"
            value="<?php echo e(old('nombre_equipo') ?? $remota->equipo); ?>" required <?php if(request()->routeIs('remotas.show')): ?>
        readonly disabled <?php endif; ?>>

        <small class="text-danger">
            <?php $__errorArgs = ['nombre_equipo'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
            <?php echo e($message); ?>

            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
        </small>
    </div>

    
    
    <div class="col-sm-6 col-lg-4">

        <label for="tipo_router_id" class="col-form-label">Tipo de router</label>



        <select class="form-select" name="tipo_router_id" id="tipo_router_id" required
            <?php if(request()->routeIs('remotas.show')): ?> disabled <?php endif; ?>>
            <option value="">Seleccione una opcion</option>
            <?php $__currentLoopData = $ModelosMicrotik; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $modelo_microtik): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <?php if($modelo_microtik->id == $remota->tipo_router_id ||old('tipo_router_id')==$modelo_microtik->id): ?>
            <option value="<?php echo e($modelo_microtik->id); ?>" selected>
                <?php echo e($modelo_microtik->nombre); ?>

            </option>
            <?php else: ?>
            <option value="<?php echo e($modelo_microtik->id); ?>">
                <?php echo e($modelo_microtik->nombre); ?>

            </option>
            <?php endif; ?>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </select>
        <small class="text-danger">
            <?php $__errorArgs = ['tipo_router_id'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
            <?php echo e($message); ?>

            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
        </small>

    </div>
    
    <div class="col-sm-6 col-lg-4">
        <label for="puerto" class="col-form-label">Puerto</label>

        <input min="0" type="number" class="form-control" id="puerto" name="puerto"
            placeholder="Ingrese el puerto de la remota" value="<?php echo e(old('puerto') ?? $remota->puerto); ?>" required
            <?php if(request()->routeIs('remotas.show')): ?> disabled readonly <?php endif; ?>/>
        <small class="text-danger">
            <?php $__errorArgs = ['puerto'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
            <?php echo e($message); ?>

            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
        </small>
    </div>
    
    <div class="col-sm-6 col-lg-4">
        <label for="ip_gestion" class="col-form-label">IP Gestion</label>

        <input class="form-control" id="ip_gestion" name="ip_gestion" placeholder="Ingrese IP de gestion "
            value="<?php echo e(old('ip_gestion') ??$remota->ip_gestion); ?>" required <?php if(request()->routeIs('remotas.show')): ?>
        readonly disabled <?php endif; ?>>
        <small class="text-danger">
            <?php $__errorArgs = ['ip_gestion'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
            <?php echo e($message); ?>

            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
        </small>
    </div>
    
    <div class="col-sm-6 col-lg-4">
        <label for="ubicacion" class="col-form-label">Ubicacion</label>

        <input class="form-control" id="ubicacion" name="ubicacion" placeholder="Ingrese ubicacion de la remota"
            value="<?php echo e(old('ubicacion') ??$remota->ubicacion); ?>" required <?php if(request()->routeIs('remotas.show')): ?> readonly
        disabled
        <?php endif; ?>>
        <small class="text-danger">
            <?php $__errorArgs = ['ubicacion'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
            <?php echo e($message); ?>

            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
        </small>
    </div>
    
    <div class="col-sm-6 col-lg-4">
        <label for="detalle" class="col-form-label">Comentario</label>

        <input class="form-control" id="detalle" name="detalle" placeholder="Comentario o detalle de la remota"
            value="<?php echo e(old('detalle') ??$remota->detalle); ?>" required <?php if(request()->routeIs('remotas.show')): ?> readonly
        disabled
        <?php endif; ?>>
        <small class="text-danger">
            <?php $__errorArgs = ['detalle'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
            <?php echo e($message); ?>

            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
        </small>
    </div>
    
    

    
    

    
    <hr class="mt-3">
    <p class="text-center h4 m-0 ">Informacion de seriales </p>

    
    <div class="col-sm-6 col-lg-4">
        <label for="serial" class="col-form-label">Serial</label>

        <input class="form-control" id="serial" name="serial" placeholder="Ingrese el serial de la remota"
            value="<?php echo e(old('serial') ??$remota->serial); ?>" <?php if(request()->routeIs('remotas.show')): ?> readonly disabled
        <?php endif; ?> />
        <small class="text-danger">
            <?php $__errorArgs = ['serial'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
            <?php echo e($message); ?>

            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
        </small>
    </div>
    
    <div class="col-sm-6 col-lg-4">
        <label for="kit_serial" class="col-form-label">Kit Serial</label>

        <input class="form-control" id="kit_serial" name="kit_serial" placeholder="Ingrese el serial kit de la remota "
            value="<?php echo e(old('kit_serial')??$remota->kit_serial); ?>" required <?php if(request()->routeIs('remotas.show')): ?>
        readonly disabled <?php endif; ?>>
        <small class="text-danger">
            <?php $__errorArgs = ['kit_serial'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
            <?php echo e($message); ?>

            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
        </small>
    </div>
    
    <div class="col-sm-6 col-lg-4">
        <label for="antena_serial" class="col-form-label">Serial Antena</label>

        <input class="form-control" id="antena_serial" name="antena_serial" placeholder="Ingrese serial de la remota"
            value="<?php echo e(old('antena_serial') ??$remota->antena_serial); ?>" <?php if(request()->routeIs('remotas.show')): ?> readonly
        disabled
        <?php endif; ?>>
        <small class="text-danger">
            <?php $__errorArgs = ['antena_serial"'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
            <?php echo e($message); ?>

            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
        </small>
    </div>

    
    <hr class="mt-3">
    <p class="text-center h4 m-0 ">Informacion de cobro </p>

    
    <div class="col-sm-6 col-lg-4">
        <label for="dia_corte" class="col-form-label">Dia de corte</label>

        <input type="date" class="form-control" data-flatpickr id="dia_corte" name="dia_corte"
            placeholder="Ingrese el dia de corte de la remota" value="<?php echo e(old('dia_corte') ??$remota->dia_corte); ?>"
            required <?php if(request()->routeIs('remotas.show')): ?> readonly disabled <?php endif; ?>>
        <small class="text-danger">
            <?php $__errorArgs = ['dia_corte'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
            <?php echo e($message); ?>

            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
        </small>
    </div>
    
    <div class="col-sm-6 col-lg-4">
        <label for="dia_activacion" class="col-form-label">Dia de activacion cliente</label>

        <input type="date" class="form-control" id="dia_activacion" data-flatpickr name="dia_activacion"
            placeholder="Ingrese dia en que el cliente activo la remota"
            value="<?php echo e(old('dia_activacion') ??$remota->dia_activacion); ?>" required
            <?php if(request()->routeIs('remotas.show')): ?> readonly disabled <?php endif; ?>>
        <small class="text-danger">
            <?php $__errorArgs = ['dia_activacion'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
            <?php echo e($message); ?>

            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
        </small>
    </div>
    
    <div class="col-sm-6 col-lg-4">
        <label for="fecha_cuenta" class="col-form-label">Fecha corte cuenta</label>

        <input type="date" class="form-control" data-flatpickr id="fecha_cuenta" name="fecha_cuenta"
            placeholder="Ingrese la fecha cuando expira la cuenta "
            value="<?php echo e(old('fecha_cuenta')??$remota->fecha_cuenta); ?>" <?php if(request()->routeIs('remotas.show')): ?> readonly
        disabled
        <?php endif; ?>>
        <small class="text-danger">
            <?php $__errorArgs = ['fecha_cuenta'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
            <?php echo e($message); ?>

            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
        </small>
    </div>

    <div class="col-sm-12 col-lg-12">
        <div id="fechas_help" class="form-text text-center">Fechas deberian ser elegidas con
            respecto al mes actual.
        </div>

    </div>
    
    <div class="col-sm-6 col-lg-4">
        <label for="paymenth_method_id" class="col-form-label">Método de pago</label>

        <select class="form-select" name="paymenth_method_id" id="paymenth_method_id" required
            <?php if(request()->routeIs('remotas.show')): ?> readonly disabled <?php endif; ?>>
            <option value="">Seleccione una opción</option>
            <?php $__currentLoopData = $payment_methods; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $pm): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <option value="<?php echo e($pm->id); ?>" <?php if($pm->id == $remota->metodo_de_pago_id || old('paymenth_method_id') ==
                $pm->id): ?> selected <?php endif; ?>>
                <?php echo e($pm->name); ?>

            </option>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </select>
        <small class="text-danger">
            <?php $__errorArgs = ['paymenth_method_id'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
            <?php echo e($message); ?>

            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
        </small>
    </div>

    
    <div class="col-sm-6 col-lg-4">
        <label for="correo_cuenta" class="col-form-label">Correo de cuenta </label>

        <input type="email" class="form-control" id="correo_cuenta" name="correo_cuenta"
            placeholder="Ingrese correo de la cuenta " value="<?php echo e(old('correo_cuenta')??$remota->correo_cuenta); ?>"
            <?php if(request()->routeIs('remotas.show')): ?> readonly disabled <?php endif; ?>>
        <small class="text-danger">
            <?php $__errorArgs = ['correo_cuenta'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
            <?php echo e($message); ?>

            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
        </small>
    </div>
    
    <div class="col-sm-6 col-lg-4">
        <label for="password_correo_cuenta" class="col-form-label">Contraseña de cuenta </label>

        <input class="form-control" id="password_correo_cuenta" name="password_correo_cuenta"
            placeholder="Ingrese correo de la cuenta "
            value="<?php echo e(old('password_correo_cuenta') ??$remota->password_correo_cuenta); ?>"
            <?php if(request()->routeIs('remotas.show')): ?> readonly disabled <?php endif; ?>>
        <small class="text-danger">
            <?php $__errorArgs = ['password_correo_cuenta'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
            <?php echo e($message); ?>

            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
        </small>
    </div>

    
    
    <div class="col-sm-6 col-lg-4">
        <label for="cliente_id" class="col-form-label">Cliente</label>


        <select class="form-select" name="cliente_id" id="cliente_id" required <?php if(request()->routeIs('remotas.show')): ?>
            readonly disabled <?php endif; ?>>
            <option value="">Seleccione una opcion</option>
            <?php $__currentLoopData = $clientes; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $cliente): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <?php if($cliente->id == $remota->cliente_id ||old('cliente_id')==$cliente->id): ?>
            <option value="<?php echo e($cliente->id); ?>" selected>
                <?php echo e($cliente->getClientName()); ?>

            </option>
            <?php else: ?>
            <option value="<?php echo e($cliente->id); ?>">
                <?php echo e($cliente->getClientName()); ?>

            </option>

            <?php endif; ?>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </select>
        <small class="text-danger">
            <?php $__errorArgs = ['cliente_id'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
            <?php echo e($message); ?>

            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
        </small>
    </div>

    
    <div class="col-sm-6 col-lg-4">
        <label for="proveedor_id" class="col-form-label">Proveedor</label>


        <select class="form-select" name="proveedor_id" id="proveedor_id" required
            <?php if(request()->routeIs('remotas.show')): ?> readonly disabled <?php endif; ?>>
            <option value="">Seleccione una opcion</option>
            <?php $__currentLoopData = $proveedores; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $proveedor): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <?php if($proveedor->id == $remota->proveedor_id ||old('proveedor_id')==$proveedor->id): ?>
            <option value="<?php echo e($proveedor->id); ?>" selected>
                <?php echo e($proveedor->empresa->razon); ?>

            </option>

            <?php else: ?>
            <option value="<?php echo e($proveedor->id); ?>">
                <?php echo e($proveedor->empresa->razon); ?>

            </option>

            <?php endif; ?>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </select>
        <small class="text-danger">
            <?php $__errorArgs = ['proveedor_uuid'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
            <?php echo e($message); ?>

            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
        </small>
    </div>
    
    <div class="col-sm-6 col-lg-4">
        <label for="plan_id" class="col-form-label">Plan</label>

        <select class="form-select" name="plan_id" id="plan_id" required <?php if(request()->routeIs('remotas.show')): ?>
            readonly disabled <?php endif; ?>>

            <option value="">Seleccione una opcion</option>
            <?php $__currentLoopData = $planes; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $plan): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <?php if($plan->id == $remota->plan_id ||old('plan_id')==$plan->id): ?>
            <option value="<?php echo e($plan->id); ?>" selected>
                <?php echo e($plan->nombre); ?>

            </option>

            <?php else: ?>
            <option value="<?php echo e($plan->id); ?>">
                <?php echo e($plan->nombre); ?>

            </option>

            <?php endif; ?>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </select>
        <small class="text-danger">
            <?php $__errorArgs = ['plan'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
            <?php echo e($message); ?>

            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
        </small>
    </div>
    
    <div class="col-sm-6 col-lg-4">
        <label for="costo_plan" class="col-form-label">Costo del plan </label>

        <input type="number" class="form-control" id="costo_plan" name="costo_plan" placeholder="0"
            value="<?php echo e(old('costo_plan') ??$remota->costo); ?>" required <?php if(request()->routeIs('remotas.show')): ?> readonly
        disabled
        <?php endif; ?>>
        <small class="text-danger">
            <?php $__errorArgs = ['costo_plan'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
            <?php echo e($message); ?>

            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
        </small>
    </div>


    
    
    <div class="col-sm-6 col-lg-4">
        <label for="vendedor_id" class="col-form-label">Vendedor</label>

        <select class="form-select" id="vendedor_id" name="vendedor_id" required <?php if(request()->routeIs('remotas.show')): ?>
            readonly disabled <?php endif; ?>>
            <option value="">Seleccione una opcion</option>
            <?php $__currentLoopData = $vendedores; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $vendedor): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <?php if($vendedor->id == $remota->vendedor_id ||old('vendedor_id')==$vendedor->id): ?>
            <option value="<?php echo e($vendedor->id); ?>" selected>
                <?php echo e($vendedor->persona->nombres); ?>

            </option>

            <?php else: ?>
            <option value="<?php echo e($vendedor->id); ?>">
                <?php echo e($vendedor->persona->nombres); ?>

            </option>

            <?php endif; ?>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </select>
        <small class="text-danger">
            <?php $__errorArgs = ['vendedor_id'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
            <?php echo e($message); ?>

            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
        </small>
    </div>
    
    <div class="col-sm-6 col-lg-4">
        <label for="comision_vendedor" class="col-form-label">Comision de vendedor</label>

        <input type="number" class="form-control" id="comision_vendedor" name="comision_vendedor" placeholder="0"
            min="0" step="0.01" value="<?php echo e(old('comision_vendedor') ??$remota->comision); ?>" required
            <?php if(request()->routeIs('remotas.show')): ?> readonly disabled <?php endif; ?>>
        <small class="text-danger">
            <?php $__errorArgs = ['comision_vendedor'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
            <?php echo e($message); ?>

            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
        </small>
    </div>
    
    <div class="col-sm-6 col-lg-4">
        <label for="status" class="col-form-label">Status</label>

        <select class="form-select" id="status" name="status" required <?php if(request()->routeIs('remotas.show')): ?> readonly
            disabled
            <?php endif; ?>>
            <option value="">Seleccione una opcion</option>
            <?php $__currentLoopData = $data['statuses']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $status_key => $nombre): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <?php if($status_key == $remota->status ||old('status')==$status_key): ?>
            <option value="<?php echo e($status_key); ?>" selected><?php echo e($nombre); ?></option>

            <?php else: ?>
            <option value="<?php echo e($status_key); ?>"><?php echo e($nombre); ?></option>

            <?php endif; ?>

            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </select>
        <small class="text-danger">
            <?php $__errorArgs = ['status'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
            <?php echo e($message); ?>

            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
        </small>
    </div>
    
    
    <div class="col-sm-6 col-lg-4">
        <label for="TxtIdentity" class="col-form-label">Licencias TicketPlus</label>

        <select class="form-select" id="TxtIdentity" name="TxtIdentity" <?php if(request()->routeIs('remotas.show')): ?> readonly
            disabled
            <?php endif; ?>>
            <option value="">Seleccione una licencia</option>
            <?php $__currentLoopData = $licencias_Ticketplus; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $txtIdentity => $licencia): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <?php if($txtIdentity == $remota->TxtIdentity || old('TxtIdentity') == $txtIdentity): ?>
            <option value="<?php echo e($txtIdentity); ?>" selected>
                <?php echo e($txtIdentity); ?> (<?php echo e($licencia['total_registros']); ?> registros)
            </option>
            <?php else: ?>
            <option value="<?php echo e($txtIdentity); ?>">
                <?php echo e($txtIdentity); ?> (<?php echo e($licencia['total_registros']); ?> registros)
            </option>
            <?php endif; ?>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </select>
        <small class="text-danger">
            <?php $__errorArgs = ['TxtIdentity'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
            <?php echo e($message); ?>

            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
        </small>
    </div>
    
    <div class="col-sm-12 col-lg-12">
        <label for="detalles_extra" class="col-form-label">Detalles extra</label>
        <textarea class="form-control" id="detalles_extra" name="detalles_extra" rows="3"
            placeholder="Ingrese detalles adicionales sobre la remota"
            <?php if(request()->routeIs('remotas.show')): ?> readonly disabled <?php endif; ?>><?php echo e(old('detalles_extra') ?? $remota->detalles_extra); ?></textarea>
        <small class="text-danger">
            <?php $__errorArgs = ['detalles_extra'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
            <?php echo e($message); ?>

            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
        </small>
    </div>
    
    

    <div class="d-flex justify-content-end gap-2 mt-4">
        <!-- Button -->
        
        <button type="submit" class="btn btn-primary <?php if(request()->routeIs('remotas.show')): ?> d-none disabled <?php endif; ?>"><?php echo e(__('Save')); ?></button>
    </div>
</div><?php /**PATH /var/www/vhosts/cloudsatllc.com/portal.cloudsatllc.com/resources/views/remotas/inputs-form.blade.php ENDPATH**/ ?>