{{ Form::open(['route' => 'admin.medecinconseil.accepterentente', 'method' => 'POST', 'onsubmit'=>'showOverlay()', 'id' => 'form_entente']) }}
{{ Form::text('id', $ententeprealable->first()->id, ['readonly' => 'true', 'class' => 'input-chic']) }}
{{ Form::text('libelleActe', $ententeprealable->first()->libelleActe, ['readonly' => 'true', 'class' => 'input-chic input-highlight']) }}
{{ Form::text('dateSysteme', $ententeprealable->first()->dateSysteme, ['readonly' => 'true', 'class' => 'input-chic']) }}
{{ Form::text('prestataire', $ententeprealable->first()->prestataire, ['readonly' => 'true', 'class' => 'input-chic']) }}
{{ Form::text('motifPrestataire', $ententeprealable->first()->motifPrestataire, ['readonly' => 'true', 'class' => 'input-chic']) }}
{{ Form::text('beneficiaire', $ententeprealable->first()->beneficiaire.' / '.$ententeprealable->first()->numeroBeneficiaire, ['readonly' => 'true', 'class' => 'input-chic']) }}
{{ Form::text('motifReel', "BON POUR ACCORD", ['class' => 'input-chic', 'style' => 'border-color: rgba(255,255,255,0.3) !important; color: #fff !important;', 'id' => 'motifReel']) }}
@if ($ententeprealable->first()->quantitePrescrite > 0)
{{ Form::text('quantitePrescrite', $ententeprealable->first()->quantitePrescrite, ['readonly' => 'true', 'class' => 'input-chic']) }}
{{ Form::text('quantiteModifiee', $ententeprealable->first()->quantiteModifiee ?: $ententeprealable->first()->quantitePrescrite, ['class' => 'input-chic', 'style' => 'border-color: #2ecc71 !important;']) }}
@endif
@if ($ententeprealable->first()->quantiteHospit > 0)
{{ Form::text('quantiteHospit', $ententeprealable->first()->quantiteHospit, ['readonly' => 'true', 'class' => 'input-chic']) }}
{{ Form::text('quantiteModifieeHospit', $ententeprealable->first()->quantiteModifieeHospit ?: $ententeprealable->first()->quantiteHospit, ['class' => 'input-chic', 'style' => 'border-color: #2ecc71 !important;']) }}
@endif
@if ($ententeprealable->first()->codeActe == "EXAM")
{{ Form::text('numeroBonExamen', $ententeprealable->first()->numeroBonExamen, ['readonly' => 'true', 'class' => 'input-chic']) }}
{{ Form::text('fraisReelExamen', $ententeprealable->first()->fraisReelExamen, ['readonly' => 'true', 'class' => 'input-chic']) }}
@endif