<div class="modal fade show d-block" tabindex="-1" style="background-color: rgba(0, 0, 0, 0.5);" role="dialog">
            <div class="modal-dialog modal-lg" >
                <div class="modal-content">
                    <div class="modal-header bg-primary">
                        <h5 class="modal-title text-white"><?php echo e(is_null($editingIndex) ? 'AGREGAR ' : 'EDITAR'); ?></h5>
                        <button type="button" wire:click="$set('showItemModal', false)" class="btn-close"></button>
                    </div>
                    <div class="modal-body pr-5 pl-5">
                        <p>Los campos con <strong class="text-danger">(*)</strong> son de ingreso obligatorios</p>
                    
                        <div class="row mb-2">
                            <div class="col-12">
                                <label for="nombre">Nombre Item/Lote/Bien/Detalle Obra/Tramos/Paquetes/Servicio <span class="text-danger">(*)</span></label>
                                <input type="text" wire:model.defer="itemForm.nombre" class="form-control">
                                <!--[if BLOCK]><![endif]--><?php $__errorArgs = ['itemForm.nombre'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> <span class="text-danger text-xs"><?php echo e($message); ?></span> <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?><!--[if ENDBLOCK]><![endif]-->
                            </div>
                        </div>
                        <div class="row mb-2">
                            <div class="col-md-6 col-sm-12">
                                <label for="monto">Precio Referencial <span class="text-danger">(*)</span></label>
                                <input type="number" wire:model.defer="itemForm.monto" class="form-control">
                                <!--[if BLOCK]><![endif]--><?php $__errorArgs = ['itemForm.monto'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> <span class="text-danger text-xs"><?php echo e($message); ?></span> <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?><!--[if ENDBLOCK]><![endif]-->
                            </div>
                            <div class="col-md-6 col-sm-12">
                                <label for="unidad">Unidad de Medida <span class="text-danger">(*)</span></label>
                                <input type="text" wire:model.defer="itemForm.unidad" class="form-control">
                                <!--[if BLOCK]><![endif]--><?php $__errorArgs = ['itemForm.unidad'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> <span class="text-danger text-xs"><?php echo e($message); ?></span> <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?><!--[if ENDBLOCK]><![endif]-->
                            </div>
                        </div>
                        <div class="row mb-2">
                            <div class="col-md-12 col-sm-12">
                                <label for="tiempo_entrega">Tiempo o Plazo de Entrega <span class="text-danger">(*)</span> <small>(Nro. dias calendario)</small> </label>
                                <input type="number" wire:model.defer="itemForm.tiempo_entrega" class="form-control">
                                <!--[if BLOCK]><![endif]--><?php $__errorArgs = ['itemForm.tiempo_entrega'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> <span class="text-danger text-xs"><?php echo e($message); ?></span> <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?><!--[if ENDBLOCK]><![endif]-->
                            </div>
                        </div>
                        <div class="row mb-2">
                            <div class="col-12">
                                <label for="forma_entrega">Forma de Entrega <span class="text-danger">(*)</span></label>
                                <input type="text" wire:model.defer="itemForm.forma_entrega" class="form-control">
                                <!--[if BLOCK]><![endif]--><?php $__errorArgs = ['itemForm.forma_entrega'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> <span class="text-danger text-xs"><?php echo e($message); ?></span> <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?><!--[if ENDBLOCK]><![endif]-->
                            </div>
                        </div>
                        <div class="row mb-2">
                            <div class="col-12">
                                <label for="lugar_entrega">Lugar de Entrega <span class="text-danger">(*)</span></label>
                                <input type="text" wire:model.defer="itemForm.lugar_entrega" class="form-control">
                                <!--[if BLOCK]><![endif]--><?php $__errorArgs = ['itemForm.lugar_entrega'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> <span class="text-danger text-xs"><?php echo e($message); ?></span> <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?><!--[if ENDBLOCK]><![endif]-->
                            </div>
                        </div>
                        <div class="row mb-2">
                            <div class="col-12">
                                <label for="forma_pago">Forma de Pago <span class="text-danger">(*)</span></label>
                                <select name="forma_pago" class="form-control" id="forma_pago" wire:model.defer="itemForm.forma_pago">
                                    <option value="Contado">--SELECCIONE--</option>
                                    <!--[if BLOCK]><![endif]--><?php $__currentLoopData = $formasPago; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $formaPago): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <option value="<?php echo e($formaPago->id); ?>"><?php echo e($formaPago->nombre); ?></option>
                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?><!--[if ENDBLOCK]><![endif]-->
                                </select>
                                <!--[if BLOCK]><![endif]--><?php $__errorArgs = ['itemForm.forma_entrega'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> <span class="text-danger text-xs"><?php echo e($message); ?></span> <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?><!--[if ENDBLOCK]><![endif]-->
                            </div>
                        </div>
                        <div class="row mb-2">
                            <div class="col-12">
                                <label for="garantia">Garantía de Cumplimiento de contrato</label>
                                <textarea name="garantia" class="form-control" id="garantia" wire:model.defer="itemForm.garantia" cols="3" rows="2"></textarea>
                                <!--[if BLOCK]><![endif]--><?php $__errorArgs = ['itemForm.garantia'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> <span class="text-danger text-xs"><?php echo e($message); ?></span> <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?><!--[if ENDBLOCK]><![endif]-->
                            </div>
                        </div>
                    </div>
                    <div class="modal-footer">
                        <button type="button" wire:click="saveItem" class="btn btn-primary">Guardar</button>
                        <button type="button" wire:click="$set('showItemModal', false)" class="btn btn-secondary">Cancelar</button>
                    </div>
                </div>
            </div>
        </div><?php /**PATH C:\laragon\www\contrataciones\resources\views/livewire/procesos/_modal_items.blade.php ENDPATH**/ ?>