@extends('layouts.dash') @section('title') Bordereaux @stop @section('title_card',"") @section('subtitle_card',"") @section('content') @if (Session::has('message'))
{!! Session::get('message') !!}
@endif @if ($errors) @foreach ($errors->all() as $error)
{!! $error !!}
@endforeach @endif @if (Session::has('success'))
{!! \Session::get('success') !!}
@endif

Etats des Bordereaux de cotisation @if($bdx_id!="") {{ "Public ".(($bdx_id!="_")?"N° ".$bdx_id:'SANS NUMERO')." - ".$exercice;}} @endif @if($bdx_prive_id!="") {{ "Privé ".(($bdx_prive_id!="_")?"N° ".$bdx_prive_id:'SANS NUMERO')." - ".$exercice;}} @endif

{!! html()->label( 'Bdx Publics','select_bdx') !!} {!! html()->select('select_bdx',$lst_bdx_publics,$bdx_id)->placeholder('A définir')->attributes(['id' => 'select_bdx','class' => 'form-control']) !!}
{!! html()->label( 'Bdx Privés','select_bdx_prive') !!} {!! html()->select('select_bdx_prive',$lst_bdx_prives,$bdx_prive_id)->placeholder('A définir')->attributes(['id' => 'select_bdx_prive','class' => 'form-control']) !!}
{!! html()->label( 'Exercice','exercice') !!} {!! html()->select('exercices',$exercices,$exercice) ->placeholder('A définir') ->attributes(['id' => 'exercice','class' => 'form-control selectpicker','data-width' => "100%"]) !!}
@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)
@if($bdx_id=="9999" || $bdx_prive_id=="9999") @endif @foreach ($cotisations as $cotisation) @if($bdx_id=="9999" || $bdx_prive_id=="9999") @endif @endforeach
Id N°Emp Employeur NbSalariés BdxBdxEtatNbMois Mois Exercice Année
Rattach.
Type
PMT
Type
Ope.
CLR CCPF Débit Crédit
{!! $cotisation->id !!} @if($cotisation->VerrouLibelleDetail!="" && 1==0) {{-- Desactivé pour l'instant --}} {{ $cotisation->VerrouLibelleDetail }} @endif {!! $cotisation->sonum !!} {!! $cotisation->employeur !!} {!! $cotisation->nbsal !!} {!! (($cotisation->bdx==0)?"":$cotisation->bdx). (($cotisation->bdx_prive==0)?"":$cotisation->bdx_prive) !!} {!! $cotisation->VerrouLibelle !!}{!! $cotisation->nbmois !!} {!! $cotisation->MoisLettre !!} {!! $cotisation->exercice !!} {!! $cotisation->AnneeRatachement !!} {!! $cotisation->typepmt !!} {!! $cotisation->type_ope !!} {!! 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
@endsection @section('scripts0') @endsection @section('scripts') @endsection