
 
<?php $__env->startSection('title'); ?> Consultation d'une Imputation <?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; ?>
 
    <h1><i class='fa fa-banque'></i> Consultation d'une Imputation</h1>
 
    <?php echo Form::model($imputation, ['imputation' => 'form'
        , 'url' => '', 'method' => 'GET', 'class' => 'form-horizontal']); ?>


    <div class="tab-content">

        <div class="form-group">
            <div class="col-md-2">
                <div class="has-success has-feedback">
                    <div class="input-group">
                        <span class="input-group-addon">N°</span>
                        <input readonly="readonly" type="text" class="form-control" name="id" id="id" 
                        value='<?php echo str_pad($imputation->id, 5, "0", STR_PAD_LEFT); ?>' />
                    </div>
               </div>
           </div>
        </div>

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

                <?php echo Form::select(
                    'cpt_imp',$comptes,
                    null,
                    ['class' => 'selectpicker','data-width' => "100%",'readonly'=>'readonly']
                ); ?>

            </div>
        </div>

        <div class="form-group">
            <div class="col-md-6">
                <?php echo Form::label('designation', 'Désignation'); ?>

                <?php echo Form::textarea('designation', $imputation->designation, 
                    ['readonly', 'rows' => '2', 'class' => 'form-control']); ?>

            </div>
        </div>

        <div class="form-group">
            <div class="col-md-2">
                <?php echo Form::label('idmandat', 'Numéro de mandat'); ?>

                <?php echo Form::text('idmandat', $imputation->idmandat, 
                    ['readonly', 'class' => 'form-control']); ?>

            </div>

            <div class="col-md-2">
                <?php echo Form::label('type_imp', 'Type'); ?>

                <?php echo Form::select(
                    'type_imp',
                    ['CPS'=>'CPS','CLS' => 'CLS','ASE' => 'ASE','AVI' => 'AVI','CSR' => 'CSR'],
                    $imputation->type_imp,
                    ['class' => 'selectpicker','data-width' => "100%",'disabled']
                ); ?>

            </div>

            <div class="col-md-2">
                <?php echo Form::label('montant', 'Montant'); ?>

                <?php echo Form::text('montant', $imputation->montant, 
                    ['readonly', 'class' => 'form-control']); ?>

            </div>

        </div>

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

            <?php echo Form::textarea('obs', null, ['readonly', 'class' => 'form-control', 'rows'=>'2']); ?>

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


    <?php if(!$frame): ?>
    <div class="col-sm-9">
        <div class='form-group'><br/>
            <a class="btn btn-warning" href="<?php echo url('mandatements/imputations'); ?>">
                Retour</a>
        </div>
    </div>
    <?php endif; ?>
    <?php echo Form::close(); ?>

    


</div>
 

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