
 
<?php $__env->startSection('title'); ?> Controle <?php $__env->stopSection(); ?>
 
<?php $__env->startSection('content'); ?>
 
<div class="col-lg-max col-lg-offset-1">
 
    <?php if($errors): ?>
        <?php $__currentLoopData = $errors->all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $error): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <div class='bg-danger alert'><?php echo $error; ?></div>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
    <?php endif; ?>
 
    <h3><i class='fa fa-banque'></i>Controle N°<?php echo $controle->id; ?></h3>
 
    <?php echo Form::model($controle, [
        'url' => '/uploadfile',
        'files'=>'true',
        'controle' => 'form',
        'enctype' => 'multipart/form-data',
        'class' => 'form-horizontal'
        ]); ?>




    <div class="tab-content">
        <?php echo Form::hidden('id',$controle->id); ?>


        <div class="form-group">
            <div class="col-xs-5">
                <?php echo Form::label('sonum', 'Employeur'); ?>

                <div class="input-group">
                    <div class="input-group-addon" id="ref_employeur"><?php echo $controle->sonum; ?></div>
                    <?php echo Form::text('sonum',$controle->nom_employeur, ['disabled' => 'true','class' => 'form-control']); ?>

                </div>
            </div>

            <div class="col-xs-2">
                <?php echo Form::label('date_cont', 'Date du contrôle'); ?>

                <div class='input-group date' id='datepicker_date_med'>
                        <?php echo Form::text('date_cont', $controle->date, ['disabled' => 'true', 'class' => 'form-control']); ?>

                </div>
            </div>
        </div>

        <div class="form-group">

        </div>


        <div class='form-group'>
            <div class="col-md-8">
            <?php echo Form::label('Fichier', 'Fichier'); ?>


            <?php echo Form::open(array('url' => '/uploadfile','files'=>'true')); ?>

            <?php echo Form::file('fichier'); ?>


            </div>
        </div>


    <div class="col-sm-9">
        <div class='form-group'><br/>
            <?php echo Form::submit('Télécharger le fichier', 
            ['class' => 'btn btn-primary','onclick'=>'']); ?>

        </div>
    </div>


    <?php echo Form::close(); ?>

    </div>
 
</div>
 

<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.master_soft', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\xampp\htdocs\SYSINFO\cpswf\sipre\resources\views/recouvrement/controles/add_piece.blade.php ENDPATH**/ ?>