@include('forms.fbncheader') @include('forms.fdatatables')
{!! Form::open(['url' => 'reglement_pointage/'.$employeur_id.'/'.$exercice, 'method' => 'PUT']) !!}
{!! Html::image("img/entreprise_cotisations.png", "Pointage", array( 'width'=>'120px','maxwidth'=>'10%', "style"=>"padding:4px" )) !!}

Pointage des règlements

{!! Form::hidden('employeur_id2', $employeur_id, ['id' => 'employeur_id2']) !!} {!! Form::label('employeur_nom', 'Employeur :' ) !!} {!! Form::text('employeur_nom', $employeur_nom, ['placeholder' => 'Employeur', 'class' => 'form-control' , 'id' => 'employeur_nom','style'=>'background:whitesmoke']) !!}
{!! Form::label('annes', 'Années :' ) !!} {!! Form::select('exercice',$exercices,$exercice, [ 'id' => 'exercice_id','class' => 'form-control selectpicker', 'data-width' => "100%",'style' => 'font-weight:bold;background:whitesmoke' ] ) !!}
{!! Form::label('montant_lettrage', 'Lettrage') !!} {!! Form::text('montant_lettrage','', ['id'=>'montant_lettrage','readonly','class' => 'form-control']) !!}
{!! Form::button('Lettrer', ['id'=>'bt_lettrer','class' => 'btn btn-primary','onclick'=>'submit();']) !!}
{!! Form::label('afficher', 'Afficher') !!} @if(!$affiche_tout) {!! Form::button('Tout', [ 'class' => 'btn btn-warning','align'=>'right','onclick'=>'affiche(0)']) !!} @else {!! Form::button('Lignes non lettrées', ['class' => 'btn btn-warning','align'=>'right','onclick'=>'affiche(1)']) !!} @endif
@if($employeur_id) {!! form::hidden('checklist','',['id'=>'checklist']) !!}
@foreach ($cotisations as $cotisation) @endforeach
Ex Date Débit Crédit Mois Nb Mois DatDépôt DatEncais Lettrage
Tout  {!! Form::checkbox('box_all', '1',false , ['id'=>'box_all','style'=>'','onclick'=>'check_all()']); !!}
 
{!! $cotisation->id !!} {!! $cotisation->exercice !!} {!! $cotisation->date !!} {!! $cotisation->debit !!} {!! $cotisation->credit !!} {!! $cotisation->mois !!} {!! $cotisation->nbmois !!} {!! $cotisation->date_depot !!} {!! $cotisation->encais_date !!} @if($cotisation->encais_date!="") @if($cotisation->lettrage2=="") {!! Form::checkbox('box_'.$cotisation->id, '1',false , ['id'=>'box_'.$cotisation->id,'onclick'=>'check()']); !!} @else {!! $cotisation->lettrage2 !!} @endif @endif Encaisser
TOTAL DEBIT : 
TOTAL CREDIT : 
@endif
{!! Form::close() !!}