<?php $__env->startSection('content'); ?>
    
    <div id="contenedor-dashboard" class="container-fluid">
        <div class="row ">
            <div class="col-md-12">
                <h2>Ajustes</h2>
                <form action="<?php echo e(route('ajustes.guardar_ajustes')); ?>" method="POST" onkeydown="return event.key != 'Enter';"
                    id="formEnviar">
                    <?php echo csrf_field(); ?>
                    <div class="form-group row">
                        <h2 for="" class="col-sm-4 col-form-label">Tipo de cambio</h2>
                        <div class="col-sm-8">
                            <input type="text" class="form-control-plaintext" id="tipo_cambio"
                                value="<?php echo e($tipo_cambio->valor ?? ''); ?>" name="tipo_cambio" placeholder="">
                        </div>
                    </div>
                    <button class="botonColor" id="botonEnviar">Guardar</button>
                </form>
            </div>
        </div>
        <div class="col-md-12">
             <?php if (isset($component)) { $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4 = $component; } ?>
<?php $component = $__env->getContainer()->make(Illuminate\View\AnonymousComponent::class, ['view' => 'components.ajustes-calculo-precio','data' => ['categorias' => $categoriasProductos]]); ?>
<?php $component->withName('ajustes-calculo-precio'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes(['categorias' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($categoriasProductos)]); ?>
<?php if (isset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4)): ?>
<?php $component = $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4; ?>
<?php unset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4); ?>
<?php endif; ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?> 
        </div>
    </div>
    <script>
        $("#formEnviar").submit(function(event) {
            document.getElementById('botonEnviar').disabled = true;
        });
    </script>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('ajustes.menu', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/devpwg5/laravelrp.com/resources/views/ajustes/dashboard.blade.php ENDPATH**/ ?>