{!! Form::label('sonum', 'Employeur') !!}
{!! $cotisation->sonum !!}
{!! Form::text('sonum',$cotisation->nom_employeur, ['disabled' => 'true','class' => 'form-control']) !!}
{!! Form::label('date', 'Date d\'entrée') !!}
{!! Form::text('date_med', $cotisation->date, ['disabled' => 'true', 'class' => 'form-control']) !!}
{!! Form::label('exercice', 'Exercice') !!} {!! Form::text('exercice', $cotisation->exercice, ['disabled' => 'true','class' => 'form-control']) !!}
{!! Form::label('type_cotis', 'Type') !!} {!! Form::select( 'type_cotis',$types_cotisation, $cotisation->type_cotis, [ 'class' => 'selectpicker' ,'disabled' => 'true' ,'data-width' => "100%" ] ) !!}
{!! Form::label('nbmois', 'Nb mois') !!} {!! Form::text('nbmois', $cotisation->nbmois, ['disabled' => 'true','class' => 'form-control']) !!}
{!! Form::label('mois', 'Mois de départ') !!}
{!! Form::text('mois', $cotisation->mois, ['disabled' => 'true', 'class' => 'form-control']) !!}
{!! Form::label('nbsal', 'Nb salariés') !!} {!! Form::text('nbsal', $cotisation->nbsal, ['disabled' => 'true','class' => 'form-control']) !!}
{!! Form::label('bdx', 'N° Bordereau') !!} {!! Form::text('bdx', $cotisation->bdx, ['disabled' => 'true','class' => 'form-control']) !!}
{!! Form::label('bdx_prive', 'N° Bordereau privé') !!} {!! Form::text('bdx_prive', $cotisation->bdx_prive, ['disabled' => 'true','class' => 'form-control']) !!}
{!! Form::label('observation', 'Observations') !!} {!! Form::textarea('observation', $cotisation->observation, ['disabled' => 'true', 'class' => 'form-control', 'rows'=>'2']) !!}
Règlement
{!! Form::label('compte', 'Compte') !!} {!! Form::text('compte', null, ['disabled' => 'true','class' => 'form-control']) !!}
{!! Form::label('typepmt', 'Type de paiement') !!} {!! Form::select( 'typepmt',$types_paiement, $cotisation->typepmt, [ 'class' => 'selectpicker' ,'disabled' => 'true' ,'data-width' => "100%" ] ) !!}
{!! Form::label('date_depot', 'Date de dépôt') !!} {!! Form::text('date_depot', ($cotisation->date_depot=="0000-00-00")?"":$cotisation->date_depot, ['disabled' => 'true','class' => 'form-control']) !!}
{!! Form::label('credit', 'Règlement') !!}
{!! Form::text('credit', number_format($cotisation->credit,0,","," ") , ['disabled' => 'true','class' => 'form-control','style'=>'font-weight:bold;text-align:right']) !!}
@if ($cotisation->credit>0) @endif
@if($nb_reglements>1)
{!! Form::label('credit', ($nb_reglements-1). " autres règlements associés : ".$liste_reglement , ['style'=>'text-align:right;font-weight:normal']) !!} {!! Form::label('credit', " pour un montant total de : ".number_format($cotisation->TotalReglements,0,","," ")." CFP" , ['style'=>'white-space: nowrap;text-align:right;font-weight:normal']) !!}
@endif
@if($nb_cotisations>1) {!! Form::label('credit', "Cotisations associées au".(($nb_reglements>1)?"x":""). " règlement".(($nb_reglements>1)?"s":"")." ".$cotisation->ListeCotisations , ['style'=>'font-weight:normal']) !!} {!! Form::label('credit', " pour un montant total de : ". number_format($cotisation->TotalCotisations,0,","," ")." CFP" , ['style'=>'font-weight:normal']) !!} @else {!! Form::label('credit', "Cotisation associée à ce règlement : ".$cotisation->ListeCotisations." pour un montant total de : ".number_format($cotisation->TotalCotisations,0,","," ")." CFP" , ['style'=>'white-space: nowrap;text-align:right;font-weight:normal']) !!} @endif