

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

            <div class="input-group">
                <div class="input-group-addon" id="ref_employeur">
                    <?php echo $cotisation->sonum; ?>

                </div>
                <?php echo Form::text('sonum',$cotisation->nom_employeur, ['disabled' => 'true','class' => 'form-control']); ?>

            </div>
        </div>


        <div class="col-xs-2">
            <?php echo Form::label('date', 'Date d\'entrée'); ?>

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

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


    <div class="form-group">
        <div class="col-md-4">
            <?php echo Form::label('type_ope', 'Opération'); ?>

            <?php echo Form::select(
                'type_ope',$types_operations,
                $cotisation->type_ope,
                [
                    'class' => 'selectpicker'
                    ,'data-width' => "100%",
                    $cotisation->VerrouDebit?'disabled':''
                ]
            ); ?>


        </div>

        <div class="col-xs-1">
            <?php echo Form::label('encais_compte', 'Compte'); ?>

            <?php echo Form::text('encais_compte', $cotisation->encais_compte, ['disabled' => 'true','class' => 'form-control']); ?>

        </div>

        <div class="col-md-1">
                <?php echo Form::label('exercice', 'Exercice'); ?>

                <?php echo Form::text('exercice', $cotisation->exercice, ['disabled' => 'true','class' => 'form-control']); ?>

        </div>
    </div>


    <div class="form-group">


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

            <?php echo Form::select(
                'type_cotis',$types_cotisation,
                $cotisation->type_cotis,
                [
                    'class' => 'selectpicker'
                    ,'disabled' => 'true'
                    ,'data-width' => "100%"
                ]
            ); ?>

        </div>


        <div class="col-xs-2">
            <?php echo Form::label('encais_date', 'Date d\'encaissement'); ?>

            <?php echo Form::text('encais_date', $cotisation->encais_date, ['disabled' => 'true','class' => 'form-control']); ?>

        </div>
    </div>


    <div class="form-group">
        <div class="col-md-1">
            <?php echo Form::label('nbmois', 'Nb mois'); ?>

            <?php echo Form::text('nbmois', $cotisation->nbmois, ['disabled' => 'true','class' => 'form-control']); ?>

        </div>
        <div class="col-md-2">
            <?php echo Form::label('mois', 'Mois de départ'); ?>

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

            </div>
        </div>

        <div class="col-md-1">
                <?php echo Form::label('nbsal', 'Nb salariés'); ?>

                <?php echo Form::text('nbsal', $cotisation->nbsal, ['disabled' => 'true','class' => 'form-control']); ?>

        </div>
    </div>


    <div class="form-group">
        <div class="col-md-2">
                <?php echo Form::label('bdx', 'N° Bordereau'); ?>

                <?php echo Form::text('bdx', $cotisation->bdx, ['disabled' => 'true','class' => 'form-control']); ?>

        </div>

        <div class="col-md-2">
                <?php echo Form::label('bdx_prive', 'N° Bordereau privé'); ?>

                <?php echo Form::text('bdx_prive', $cotisation->bdx_prive, ['disabled' => 'true','class' => 'form-control']); ?>

        </div>
    </div>



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

        <?php echo Form::textarea('observation', $cotisation->observation, ['disabled' => 'true', 'class' => 'form-control', 'rows'=>'2']); ?>

        </div>
    </div>


    <div class='form-group col-md-6'>
        <div class="">
            <fieldset class="">
                <legend class="h4">Cotisation</legend>
                <?php if($cotisation->credit>0): ?>
                <div class="form-group"  style="padding:5px">

                    <div class="col-md-3">
                            <?php echo Form::label('compte', 'Compte'); ?>

                            <?php echo Form::text('compte', null, ['disabled' => 'true','class' => 'form-control']); ?>

                    </div>
                    <div class="col-md-4">
                            <?php echo Form::label('typepmt', 'Type de paiement'); ?>

                            <?php echo Form::select(
                                'typepmt',
                                [
                                    ''=>' '
                                    ,'A'=>'Autre'
                                    ,'B' => 'Banque'
                                    ,'E' => 'Espèce'
                                    ,'T' => 'Trésor'
                                    ,'V' => 'Virement'
                                    ,'P' => 'Prélèvement automatique'
                                    ,'€' => 'Euro'
                                    ,'N' => 'Nul'
                                    ],
                                $cotisation->typepmt,
                                [
                                    'class' => 'selectpicker'
                                    ,'disabled' => 'true'
                                    ,'data-width' => "100%"
                                ]
                            ); ?>

                   </div>
                </div>
                <?php endif; ?>

                <div class="form-group bg-danger" style="padding:5px">
                    <div class="col-md-2">
                        <?php echo Form::label('assiette', 'Assiette'); ?>

                    </div>
                    <div class="col-md-5" >
                        <?php echo Form::text('assiette', number_format($cotisation->assiette,0,","," "), ['disabled' => 'true'
                            , 'class' => 'form-control','style'=>'text-align:right']); ?> 
                    </div>
                    <div class="col-md-3">
                        <?php echo Form::text('PrcTot', $cotisation->PrcTot, ['class' => 'form-control'
                            ,'disabled'=>'true','style'=>'text-align:center']); ?> 
                    </div>
                    <br/><br/>
                    <div class="col-md-2">
                        <?php echo Form::label('clr', 'CLR'); ?>

                    </div>
                    <div class="col-md-5">
                        <?php echo Form::text('clr', number_format($cotisation->clr,0,","," "), ['placeholder' => 'CLR'
                            ,'disabled'=>'true', 'class' => 'form-control','style'=>'text-align:right']); ?> 
                    </div>
                    <div class="col-md-3">
                        <?php echo Form::text('PrcCLR', $cotisation->PrcCLR, ['class' => 'form-control'
                            ,'disabled'=>'true','style'=>'text-align:center']); ?> 
                    </div>
                    <br/><br/>
                    <div class="col-md-2">
                        <?php echo Form::label('ccpf', 'CCPF'); ?>

                    </div>
                    <div class="col-md-5">
                        <?php echo Form::text('ccpf', number_format($cotisation->ccpf,0,","," ") , ['disabled' => 'true'
                            ,'disabled'=>'true', 'class' => 'form-control','style'=>'text-align:right']); ?> 
                    </div>
                    <div class="col-md-3">
                        <?php echo Form::text('PrcCCPF', $cotisation->PrcCCPF, ['class' => 'form-control'
                            ,'disabled'=>'true','style'=>'text-align:center']); ?> 
                    </div>
                </div>


               <div class="form-group bg-info" style="padding:5px">
                    <div class="col-md-2">
                        <?php echo Form::label('debit', 'Total'); ?>

                    </div>
                    <div class="col-md-5" >
                        <?php echo Form::text('debit', number_format($cotisation->debit,0,","," ") , ['class' => 'form-control'
                            ,'style'=>'font-weight:bold;text-align:right','disabled'=>'true']); ?> 
                    </div>
                    <?php if($cotisation->credit>0): ?>
                        <br/><br/>
                        <div class="col-md-2">
                            <?php echo Form::label('credit', 'Règlement'); ?>

                        </div>
                        <div class="col-md-5" >
                            <?php echo Form::text('credit', number_format($cotisation->credit,0,","," ") 
                                , ['disabled' => 'true','class' => 'form-control','style'=>'font-weight:bold;text-align:right']); ?> 
                        </div>
                        
                        <div class="col-sm-2">
                            <a href="<?php echo url('cotisations_recu/'.$cotisation->id); ?>" 
                            id='btn_ajout_enfant'  class="box_versement fancybox.iframe btn btn-warning" 
                            target="_blank">Imprimer le reçu</a>
                        </div>
                    <?php else: ?>
                        <div class="col-sm-2">
                            <a href="<?php echo url('cotisations_ordre/'.$cotisation->id); ?>" 
                            id='btn_ajout_enfant'  class="box_versement fancybox.iframe btn btn-warning" 
                            target="_blank">Imprimer l'ordre de recette</a>
                        </div>
                    <?php endif; ?>
                </div>
            </fieldset>
        </div>
    </div>


<?php /**PATH C:\xampp7422\htdocs\sysinfo\cpswf\sipre9\resources\views/recouvrement/cotisations/show_cotisation_field.blade.php ENDPATH**/ ?>