{{ Form::open(['route' => 'admin.medecinconseil.accepterententePha', 'method' => 'POST', 'onsubmit'=>'showOverlay()', 'id' => 'form_entente']) }}
@php
$codeMedicament = $ententeprealablePha->first()->codeMedicament;
@endphp
{{ Form::text('id', $ententeprealablePha->first()->id, ['readonly' => 'true', 'class' => 'input-chic']) }}
{{ Form::text('libelleActe', $ententeprealablePha->first()->libelleMedicament, ['readonly' => 'true', 'class' => 'input-chic input-highlight']) }}
{{ Form::text('dateSysteme', $ententeprealablePha->first()->dateSysteme, ['readonly' => 'true', 'class' => 'input-chic']) }}
{{ Form::text('prestataire', $ententeprealablePha->first()->prestataire, ['readonly' => 'true', 'class' => 'input-chic']) }}
{{ Form::text('beneficiaire', $ententeprealablePha->first()->beneficiaire.' / '.$ententeprealablePha->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 ($codeMedicament != "MEDIC")
{{ Form::text('prixPrestataire', $ententeprealablePha->first()->prixPrestataire, ['readonly' => 'true', 'class' => 'input-chic']) }}
{{ Form::text('quantite', $ententeprealablePha->first()->quantite, ['readonly' => 'true', 'class' => 'input-chic']) }}
{{ Form::text('prixAccorde', $ententeprealablePha->first()->prixPrestataire, ['class' => 'input-chic', 'style' => 'border-color: #2ecc71 !important;']) }}
{{ Form::text('quantiteAccorde', $ententeprealablePha->first()->quantite, ['class' => 'input-chic', 'style' => 'border-color: #2ecc71 !important;']) }}
@endif