{!! html()->label('Employeur','sonum') !!} {!! html()->text('employeur', $employeur->id." ".$employeur->nom) ->attributes(['readonly','class' => 'form-control']) !!} {!! html()->hidden('sonum', $employeur->id) !!}
{!! html()->label( 'Date d\'entrée','date') !!}
{!! html()->text('date', date('d/m/Y')) ->placeholder('') ->attributes([(($mode!="create")?'readonly':''),'class' => 'form-control']) !!}
{!! html()->label( 'Opération','type_ope') !!} {!! html()->select('type_ope',$types_operations,null) ->placeholder('A définir') ->attributes([(($mode!="create")?'readonly':''),'class' => 'form-control']) !!}
@if($mode!="create")
{!! html()->label( 'Compte','encais_compte') !!} {!! html()->select('encais_compte',App\Models\MyApp::COMPTES_ENCAISSEMENT,null) ->placeholder('A définir') ->attributes([(($cotisation->transaction!="")?'readonly':''),'class' => 'form-control']) !!}
@endif
{!! html()->label('Exercice','exercice') !!} {!! html()->select('exercice',$exercices,($mode!="create")?$cotisation->exercice:date('Y')) ->placeholder('A définir') ->attributes(['id' => 'exercice_id','class' => 'form-control','style' => 'font-weight:bold;']) !!}
{!! html()->label('Type','type_cotis') !!} {!! html()->select('type_cotis',$types_cotisation,null)->placeholder('A définir') ->attributes([(($mode!="create")?'readonly':''),'class' => 'form-control']) !!}
@if($mode!="create")
{!! html()->label( 'Date d\'encaissement','encais_date') !!}
{!! html()->text('encais_date', $cotisation->encais_date)->placeholder('Date') ->attributes(['readonly','class' => 'form-control']) !!}
{!! html()->label( 'Transaction (Comptabilité)','transaction') !!} {!! html()->text('transaction', null)->placeholder('Aucune')->attributes(['readonly','class' => 'form-control']) !!}
@endif
{!! html()->label( 'Nb mois','nbmois') !!} {!! html()->text('nbmois', null)->placeholder('Nb mois') ->attributes([(($mode!="create")?'readonly':''),'class' => 'form-control']) !!}
{!! html()->label( 'Mois de départ','mois') !!}
{!! html()->text('mois', null)->placeholder('Mois de départ') ->attributes([(($mode!="create")?'readonly':''),'id'=>'mois','class' => 'form-control']) !!}
{!! html()->label( 'Nb salariés','nbsal') !!} {!! html()->text('nbsal', null)->placeholder('Nb salariés') ->attributes([(($mode!="create")?'readonly':''),'class' => 'form-control']) !!}
{!! html()->label( 'N°Bordereau','bdx') !!} {!! html()->text('bdx', null)->placeholder('N°bordereau') ->attributes([(($mode!="create")?'readonly':''),'class' => 'form-control']) !!}
{!! html()->label('N°Bord.privé','bdx_prive') !!} {!! html()->text('bdx_prive', null)->placeholder('N°bordereau privé') ->attributes([(($mode!="create")?'readonly':''),'class' => 'form-control']) !!}
{!! html()->label('observation', 'Observations') !!} {!! html()->textarea('observation', null)->placeholder('Observations') ->attributes(['class' => 'form-control', 'rows'=>'2']) !!}
Cotisation
{!! html()->label('Assiette','assiette') !!}
{!! html()->text('assiette', null)->placeholder('Assiette') ->attributes([(($mode!="create")?'readonly':''),'id'=>'assiette', 'class' => 'form-control','style'=>'text-align:right']) !!}
{!! html()->text('PrcTot', null)->placeholder('Assiette') ->attributes(['readonly','class' => 'form-control','id'=>'PrcTot','style'=>'text-align:center']) !!}
{!! html()->label( 'CLR','clr') !!}
{!! html()->text('clr', null)->placeholder("CLR")->attributes(['id'=>'CLR','class' => 'form-control','readonly','style'=>'text-align:right']) !!}
{!! html()->text('PrcCLR', null)->placeholder("CLR") ->attributes(['class' => 'form-control','id'=>'PrcCLR','readonly','style'=>'text-align:center']) !!}
@if($mode=="create")
Sans CLR
@endif
{!! html()->label( 'CCPF','ccpf') !!}
{!! html()->text('ccpf', null)->placeholder('CCPF') ->attributes(['id'=>'CCPF','readonly', 'class' => 'form-control','style'=>'text-align:right']) !!}
{!! html()->text('PrcCCPF', null)->placeholder('CCPF') ->attributes(['class' => 'form-control','id'=>'PrcCCPF','readonly','style'=>'text-align:center']) !!}
@if($mode=="create")
Sans CCPF
@endif
{!! html()->label( 'Total','total') !!}
{!! html()->text('total', null) ->attributes(['class' => 'form-control','id'=>'total','style'=>'text-align:right','readonly']) !!}
@if($mode!="create") Retour @else Retour @endif {!! html()->button('Enregistrer')->value('Enregistrer')->type('submit')->attributes(['class' => 'btn btn-primary']) !!}