<?php $__env->startSection('title', 'material'); ?>
<?php $__env->startSection('content'); ?>
<div class="pcoded-inner-content">
    <?php echo $__env->make('includes._alert', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
    <div class="main-body">
        <div class="page-wrapper">
            <div class="page-body">
                <div class="row">
                    <div class="col-sm-12"> 
                        <div class="card">
                            <div class="card-header mb-0 pb-0">
                                <div class="d-flex justify-content-between">
                                    <h4>Gestion Materielle</h4>
                                    <span>
                                        <a href="<?php echo e(route('report1.index')); ?>" class="btn btn-inverse btn-outline-inverse  btn-sm py-1" title="Return Back"><i class="fas fa-reply mx-0"></i></a>
                                    </span> 
                                </div>
                            </div>
                            <hr class="mx-3 mt-0">
                            <div class="card-block">
                                <div class="row">
                                    <div class="col-md-12">
                                        <form action="<?php echo e(route('report1.store')); ?>" method="post">
                                            <?php echo csrf_field(); ?>
                                            <input type="hidden" name="val" value="2">
                                            <div class="form-group">
                                                <table class="table table-bordered my-2">
                                                    <head>
                                                        <tr>
                                                            <th class="text-center" style="width: 15%"></th>
                                                            <th class="text-center" style="width: 17%">Salles de classes ordinaires </th>
                                                            <th class="text-center" style="width: 17%">Laboratoires de Sciences </th>
                                                            <th class="text-center" style="width: 17%">Salle Informatique</th>
                                                            <th class="text-center" style="width: 17%">Bibliothèque</th>
                                                            <th class="text-center" style="width: 17%">Infirmerie</th>
                                                        </tr>
                                                    </head>
                                                    <body>
                                                        <tr>
                                                            <th class="text-left p-0"><p class="my-1 ml-2">Existant</p></th>
                                                            <td class="text-center p-0"><input type="text" name="col1[1]" class="form-control number" placeholder="---" style="border: none"></td>
                                                            <td class="text-center p-0"><input type="text" name="col2[1]" class="form-control number" placeholder="---" style="border: none"></td>
                                                            <td class="text-center p-0"><input type="text" name="col3[1]" class="form-control number" placeholder="---" style="border: none"></td>
                                                            <td class="text-center p-0"><input type="text" name="col4[1]" class="form-control number" placeholder="---" style="border: none"></td>
                                                            <td class="text-center p-0"><input type="text" name="col5[1]" class="form-control number" placeholder="---" style="border: none"></td>
                                                        </tr>
                                                        <tr>
                                                            <th class="text-left p-0"><p class="my-1 ml-2">Besoin</p></th>
                                                            <td class="text-center p-0"><input type="text" name="col1[2]" class="form-control" placeholder="---" style="border: none"></td>
                                                            <td class="text-center p-0"><input type="text" name="col2[2]" class="form-control" placeholder="---" style="border: none"></td>
                                                            <td class="text-center p-0"><input type="text" name="col3[2]" class="form-control" placeholder="---" style="border: none"></td>
                                                            <td class="text-center p-0"><input type="text" name="col4[2]" class="form-control" placeholder="---" style="border: none"></td>
                                                            <td class="text-center p-0"><input type="text" name="col5[2]" class="form-control" placeholder="---" style="border: none"></td>
                                                        </tr>
                                                    </body>
                                                </table>
                                            </div>
                                            <hr class="text-center mt-lg-5">
                                            <div class="text-center py-3">
                                                <button type="submit" class="btn btn-inverse btn-outline-inverse py-1"> <i class="fas fa-check-circle"></i> Valider les informations</button>
                                            </div>
                                        </form>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('script'); ?>
    <script src="<?php echo e(asset('assets/js/pcoded.min.js')); ?>"></script>
    <script src="<?php echo e(asset('assets/js/vartical-layout.min.js')); ?>"></script>
    <script src="<?php echo e(asset('assets/js/jquery.mCustomScrollbar.concat.min.js')); ?>"></script>
    <script>
        $(document).ready(function() {

            $('.number').on('keypress', function(e) {
                var charCode = e.which ? e.which : e.keyCode;
                if (charCode < 48 || charCode > 57) {
                    e.preventDefault(); // Empêche la saisie si ce n'est pas un chiffre
                }
            });

        });
    </script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\Users\EDUCAS\Desktop\AppS\V4_001\resources\views\pages\rapport\material.blade.php ENDPATH**/ ?>