@include('forms.fbncheader') @include('forms.fdatatables')
{!! Html::image("img/bordereaux.png", "Imputations", array( 'width'=>'100%', "style"=>"padding:4px" )) !!}

Etats des Bordereaux de cotisation {!! ($bdx_prive_id!="")?"Privé N°".$bdx_prive_id." - ".$exercice:"" !!} {!! ($bdx_id!="")?"Public N°".$bdx_id." - ".$exercice:"" !!}

{!! Form::label('select_bdx', 'Bdx Publics') !!} {!! Form::select('select_bdx',$lst_bdx_publics, $bdx_id,['id'=>'select_bdx','class' => 'form-control selectpicker','id'=>'select_bdx'] ) !!}
{!! Form::label('select_bdx_prive', 'Bdx Privés') !!} {!! Form::select('select_bdx_prive',$lst_bdx_prives, $bdx_prive_id,['id'=>'select_bdx_prive','class' => 'form-control selectpicker','id'=>'select_bdx_prive'] ) !!}
{!! Form::label('exercice', 'Exercice') !!} {!! Form::select('exercices',$exercices, $exercice,['id'=>'exercice','class' => 'form-control selectpicker','id'=>'exercice'] ) !!}
@if($user->can("COT_VAL") || $user->HasRole("ADMINISTRATEUR")) @if( (count($cotisations)>0 ) && ( ($bdx_prive_id!="")||($bdx_id!="")) && (($bdx_id!="9999")&&($bdx_prive_id!="9999")) ) @if( ($typeval=="C") || ($typeval=="") ) Valider les débits @endif @if( ($typeval=="D") || ($typeval=="") ) Valider les crédits @endif @if( ($typeval=="Z") && $user->HasRole("ADMINISTRATEUR") ) Annuler les validations @endif @endif @endif @if((count($cotisations)>0)&&($bdx_id!="9999")&&($bdx_prive_id!="9999")) Etat récapitulatif @endif
@if(count($cotisations)>0)
@foreach ($cotisations as $cotisation) @endforeach
Id N°Employeur Employeur NbSalariés Bdx NbMois Mois Exercice Année de rattachement TypePMT CLR CCPF Débit Crédit
{!! $cotisation->id !!} {!! $cotisation->sonum !!} {!! $cotisation->employeur !!} {!! $cotisation->nbsal !!} {!! (($cotisation->bdx==0)?"":str_pad($cotisation->bdx, 2, "0", STR_PAD_LEFT)). (($cotisation->bdx_prive==0)?"":str_pad($cotisation->bdx_prive, 2, "0", STR_PAD_LEFT)) !!} {!! $cotisation->nbmois !!} {!! $cotisation->MoisLettre !!} {!! $cotisation->exercice !!} {!! $cotisation->AnneeRatachement !!} {!! $cotisation->typepmt !!} {!! number_format($cotisation->clr,0,","," ") !!} {!! number_format($cotisation->ccpf,0,","," ") !!} {!! number_format($cotisation->debit,0,","," ") !!} {!! number_format($cotisation->credit,0,","," ") !!}
{!! $total["nbsal"] !!} {!! $total["nbmois"] !!} {!! number_format($total["clr"],0,","," ") !!} {!! number_format($total["ccpf"],0,","," ") !!} {!! number_format($total["debit"],0,","," ") !!} {!! number_format($total["credit"],0,","," ") !!}
@endif