@extends('layouts.dash') @section('title') Encaissement @stop @section('title_card') @stop @section('title') Cotisation N°{!! $cotisation->id !!} @stop @section('content')
@if ($errors) @foreach ($errors->all() as $error)
{!! $error !!}
@endforeach @endif

Encaissement de la Cotisation N°{!! $cotisation->id !!}

{{ html()->modelForm($cotisation, 'PUT', url('cotisations_encaiss/' . $cotisation->id))->open() }} {{ html()->hidden('sonum',$cotisation->sonum) }} {{ html()->hidden('origine',$origine) }}
{!! html()->label( 'Employeur','sonum') !!}
{!! $cotisation->sonum !!}
{!! html()->text('sonum', $cotisation->nom_employeur)->placeholder("")->attributes(['readonly', 'class' => 'form-control']) !!}
{!! html()->label( 'Date d\'entrée','date') !!}
{!! html()->text('date_med', $cotisation->date)->placeholder("")->attributes(['readonly', 'class' => 'form-control']) !!}
{!! html()->label( 'Exercice','exercice') !!} {!! html()->text('exercice', $cotisation->exercice)->placeholder("")->attributes(['readonly', 'class' => 'form-control']) !!}
{!! html()->label( 'Type','type_cotis') !!} {!! html()->select('type_cotis',$types_cotisation,$cotisation->type_cotis)->attributes(['readonly','class' => 'form-control']) !!}
{!! html()->label( 'Nb mois','nbmois') !!} {!! html()->text('nbmois', $cotisation->nbmois)->placeholder("")->attributes(['readonly', 'class' => 'form-control']) !!}
{!! html()->label( 'Mois de départ','mois') !!}
{!! html()->text('mois', $cotisation->mois)->attributes(['readonly', 'class' => 'form-control']) !!}
{!! html()->label( 'Nb salariés','nbsal') !!} {!! html()->text('nbsal', $cotisation->nbsal)->attributes(['readonly', 'class' => 'form-control']) !!}
{!! html()->label( 'N°Bordereau','bdx') !!} {!! html()->text('bdx', $cotisation->bdx)->placeholder("")->attributes(['readonly', 'class' => 'form-control']) !!}
{!! html()->label( 'N° Bordereau privé','bdx_prive') !!} {!! html()->text('bdx_prive', $cotisation->bdx_prive)->placeholder("")->attributes(['readonly', 'class' => 'form-control']) !!}
{!! html()->label( 'Observations','observation') !!} {!! html()->text('observation', $cotisation->observation)->attributes(['readonly', 'class' => 'form-control', 'rows'=>'2']) !!}
{!! html()->label( 'Date d\'encaissement','encais_date') !!}
{!! html()->text('encais_date', $cotisation->encais_date)->placeholder('Date')->attributes(['class' => 'form-control']) !!}
{!! html()->label( 'Compte','encais_compte') !!} {!! html()->select('encais_compte',App\Models\MyApp::COMPTES_ENCAISSEMENT,null)->placeholder('A définir')->attributes(['class' => 'form-control']) !!}
Cotisation
{!! html()->label('Compte','compte') !!} {!! html()->text('compte', null)->attributes(['readonly','class' => 'form-control']) !!}
{!! html()->label('Type de paiement','typepmt') !!} {!! html()->text('typepmt', $cotisation->typepmt)->attributes(['readonly','class' => 'form-control']) !!}
{!! html()->label( 'Date de dépôt','date_depot') !!} {!! html()->text('date_depot', $cotisation->date_depot)->attributes(['readonly','class' => 'form-control']) !!}
{!! html()->label( 'Assiette','assiette') !!}
{!! html()->text('assiette', null)->attributes(['readonly','class' => 'form-control','style'=>'text-align:right']) !!}
{!! html()->text('PrcTot', null)->attributes(['class' => 'form-control','readonly','style'=>'text-align:center','id'=>'PrcTot']) !!}
{!! html()->label('CLR','clr') !!}
{!! html()->text('clr', null)->attributes(['readonly', 'class' => 'form-control','style'=>'text-align:right']) !!}
{!! html()->text('PrcCLR', null)->attributes(['class' => 'form-control','readonly','style'=>'text-align:center']) !!}
{!! html()->label( 'CCPF','ccpf') !!}
{!! html()->text('ccpf', null)->attributes(['readonly', 'class' => 'form-control','style'=>'text-align:right']) !!}
{!! html()->text('PrcCCPF', null)->attributes(['class' => 'form-control','readonly','style'=>'text-align:center']) !!}
{!! html()->label('Total','total') !!}
{!! html()->text('total', null)->attributes(['class' => 'form-control','style'=>'text-align:right','readonly']) !!}
{!! html()->label( 'Règlement','credit') !!}
{!! html()->text('credit', null)->attributes(['class' => 'form-control','style'=>'text-align:right']) !!}
{!! html()->button('Enregistrer')->value('Enregistrer')->type('submit')->attributes(['class' => 'btn btn-primary']) !!}
{{ html()->form()->close() }}
@stop @section('scripts0') @stop