@extends('admin.layout.master') @section('content')
Approuver la substitution de médicament

@if (($errors->has('dateDebut')))
{{ $errors->first('dateDebut') }}
@endif @if (($errors->has('dateFin')))
{{ $errors->first('dateFin') }}
@endif {{ Form::open(['route' => 'admin.ententeprealable.accepterententePhaSubs', 'method' => 'POST', 'onsubmit'=>'showOverlay()' , 'id' => 'form_entente']) }} @php $idDemandesubstitution = $ententeprealablePhaSubs->first()->idDemandesubstitution; $codeReponseEntentePrealable =$ententeprealablePhaSubs->first()->codeReponseEntentePrealable; $numeroDemandeSubstitution =$ententeprealablePhaSubs->first()->numeroDemandeSubstitution; //$facture =$ententeprealablePhaSubs->first()->facture; $libelleSubstitut =$ententeprealablePhaSubs->first()->libelleSubstitut; $codeMedicament =$ententeprealablePhaSubs->first()->codeMedicamentPrescrit; $prixSubstitution =$ententeprealablePhaSubs->first()->prixSubstitution; $numeroFeuilleMaladie =$ententeprealablePhaSubs->first()->numeroFeuilleMaladie; @endphp
{{ Form::text('numeroDemandeSubstitution', $ententeprealablePhaSubs->first()->numeroDemandeSubstitution , ['readonly' => 'true','class' => 'form-control ', 'id' => 'id']) }}
{{ Form::text('nomPrescrit', $ententeprealablePhaSubs->first()->nomPrescrit , ['readonly' => 'true','class' => 'form-control ', 'id' => 'nomPrescrit']) }}
{{ Form::text('libellePolice', $ententeprealablePhaSubs->first()->libellePolice , ['readonly' => 'true','class' => 'form-control ', 'id' => 'libellePolice']) }}
{{ Form::text('libelleSubstitut', $ententeprealablePhaSubs->first()->libelleSubstitut , ['readonly' => 'true','class' => 'form-control ', 'id' => 'libelleSubstitut']) }}
{{ Form::text('dateSysteme', $ententeprealablePhaSubs->first()->dateSysteme , ['readonly' => 'true','class' => 'form-control ', 'id' => 'dateSysteme', 'placeholder' => '< Date d\'enregistrement']) }}
{{ Form::text('prestataire', $ententeprealablePhaSubs->first()->prestataire , ['readonly' => 'true','class' => 'form-control ', 'id' => 'prestataire', 'placeholder' => '< Date d\'enregistrement']) }}
{{ Form::text('beneficiaire', $ententeprealablePhaSubs->first()->beneficiaire.' / '.$ententeprealablePhaSubs->first()->numeroBeneficiaire , ['readonly' => 'true','class' => 'form-control ', 'id' => 'beneficiaire', 'placeholder' => 'Motif ']) }}
{{ Form::text('motifReel', 'BON POUR ACCORD' , ['class' => 'form-control ', 'id' => 'motifReel', 'placeholder' => 'Intruction particulière']) }}
@if ($codeMedicament!="MEDIC")
{{ Form::text('prixPrescription', $ententeprealablePhaSubs->first()->prixPrescription , ['readonly' => 'true','class' => 'form-control ', 'id' => 'prixPrescription']) }}
{{ Form::text('prixSubstitution', $ententeprealablePhaSubs->first()->prixSubstitution , ['readonly' => 'true','class' => 'form-control ', 'id' => 'prixSubstitution']) }}
{{ Form::text('gap', $ententeprealablePhaSubs->first()->gap , ['readonly' => 'true','class' => 'form-control ', 'id' => 'gap']) }}
@endif
@if($baseTarification=="IND")
{{ Form::text('plafond', $college->first()->plafond , ['readonly' => 'true', 'style' => 'text-align:center; background-color:blue;color:white; font-size:10pt;', 'class' => 'form-control ', 'id' => 'plafond', 'placeholder' => '< Date d\'enregistrement']) }}
{{ Form::text('consommation', $college->first()->consommation , ['readonly' => 'true','class' => 'form-control ', 'id' => 'consommation', 'placeholder' => '< Date d\'enregistrement']) }}
{{ Form::text('soldeConsommation', $college->first()->soldeConsommation , ['readonly' => 'true','class' => 'form-control ', 'id' => 'soldeConsommation', 'placeholder' => '< Date d\'enregistrement']) }}
@else
{{ Form::text('plafond', $police->first()->plafond , [ 'readonly' => 'true', 'style' => 'text-align:center; background-color:blue;color:white; font-size:10pt;', 'class' => 'form-control ', 'id' => 'plafond', 'placeholder' => '< Date d\'enregistrement']) }}
{{ Form::text('consommation', $police->first()->consommation , ['style' => 'text-align:center; background-color:rgba(255, 0, 127);color:white; font-size:10pt;' ,'readonly' => 'true','class' => 'form-control ', 'id' => 'consommation', 'placeholder' => '< Date d\'enregistrement']) }}
{{ Form::text('soldeConsommation', $police->first()->soldeConsommation , [ 'style' => 'text-align:center; background-color:green;color:white; font-size:10pt;', 'readonly' => 'true','class' => 'form-control ', 'id' => 'soldeConsommation', 'placeholder' => '< Date d\'enregistrement']) }}
@endif

Cliquer ici pour voir les garanties
Cliquer ici pour voir les actes plafonnés
@endsection