224 lines
11 KiB
PHP
Executable File
224 lines
11 KiB
PHP
Executable File
<?php
|
|
$this->titre = "INTER-SANTE - Fiche Prestataire";
|
|
|
|
$_SESSION['codePrestataire_C'] = $this->nettoyer($prestataire['codePrestataire']) ;
|
|
$codePrestataire = $_SESSION['codePrestataire_C'] ;
|
|
$actif = $prestataire['actif'];
|
|
$derogationFingerPrestataire = $prestataire['derogationFingerPrestataire'];
|
|
|
|
$derogationFingerPrestatairePossible = $societe['derogationFingerPrestatairePossible'];
|
|
|
|
|
|
if (est_anglophone())
|
|
{
|
|
$typedecompte = $this->nettoyer($prestataire['typedecompteEng']);
|
|
}
|
|
else
|
|
{
|
|
$typedecompte = $this->nettoyer($prestataire['typedecompte']);
|
|
}
|
|
?>
|
|
|
|
<script type="text/javascript">
|
|
|
|
</script>
|
|
|
|
<input class="sr-only" type="text" id="idPrestataire" name="idPrestataire" value="<?= $this->nettoyer($prestataire['idPrestataire']) ?>" >
|
|
|
|
<legend> <?= _("Fiche Prestataire") ?> </legend>
|
|
<table class="table table-responsive table-condensed">
|
|
<tbody>
|
|
<tr>
|
|
<td width="7%" >Code</td>
|
|
<td width="10%"><INPUT class="form-control" TYPE="text" id="codePrestataire" NAME="codePrestataire" value="<?=$this->nettoyer($prestataire['codePrestataireNormalise'])?>" readonly></td>
|
|
|
|
<td width="7%" align="center"> <?= _("Nom") ?> </td>
|
|
<td><INPUT class="form-control" TYPE="text" id="libelle" NAME="libelle" value="<?=$this->nettoyer($prestataire['libelle'])?>" readonly></td>
|
|
|
|
<td width="7%" align="center" >Type</td>
|
|
<td width="10%"><INPUT class="form-control" TYPE="text" id="codeTypePrestataire" NAME="codeTypePrestataire" value="<?=$this->nettoyer($prestataire['codeTypePrestataire'])?>" readonly></td>
|
|
|
|
<td width="7%" align="center"> <?= _("Lib Type") ?> </td>
|
|
<td><INPUT class="form-control" TYPE="text" id="typeprestataire" NAME="typeprestataire" value="<?=$this->nettoyer($prestataire['typeprestataire'])?>" readonly></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td> <?= _("Code Caté.") ?> </td>
|
|
<td><INPUT class="form-control" TYPE="text" id="categoriePresataire" NAME="categoriePresataire" value="<?=$this->nettoyer($prestataire['categoriePresataire'])?>" readonly></td>
|
|
|
|
<td align="center"> <?= _("Catégorie") ?> </td>
|
|
<td><INPUT class="form-control" TYPE="text" id="categorie" NAME="categorie" value="<?=$this->nettoyer($prestataire['categorie'])?>" readonly></td>
|
|
|
|
<td align="center" > <?= _("Tarif Acte") ?> </td>
|
|
<td><INPUT class="form-control" TYPE="text" id="codeTarifActe" NAME="codeTarifActe" value="<?=$this->nettoyer($prestataire['codeTarifActe'])?>" readonly></td>
|
|
|
|
<td align="center"> <?= _("Lib Tarif") ?> </td>
|
|
<td><INPUT class="form-control" TYPE="text" id="tarifacte" NAME="tarifacte" value="<?=$this->nettoyer($prestataire['tarifacte'])?>" readonly></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td> <?= _("Tarif Médic") ?> </td>
|
|
<td><INPUT class="form-control" TYPE="text" id="codeTarifMedicament" NAME="codeTarifMedicament" value="<?=$this->nettoyer($prestataire['codeTarifMedicament'])?>" readonly></td>
|
|
|
|
<td align="center"> <?= _("Lib Tarif") ?> </td>
|
|
<td><INPUT class="form-control" TYPE="text" id="tarifmedicament" NAME="tarifmedicament" value="<?=$this->nettoyer($prestataire['tarifmedicament'])?>" readonly></td>
|
|
|
|
<td align="center" > <?= _("Tarif Opt") ?> </td>
|
|
<td><INPUT class="form-control" TYPE="text" id="codeTarifOptique" NAME="codeTarifOptique" value="<?=$this->nettoyer($prestataire['codeTarifOptique'])?>" readonly></td>
|
|
|
|
<td align="center"> <?= _("Lib Tarif") ?> </td>
|
|
<td><INPUT class="form-control" TYPE="text" id="tarifoptique" NAME="tarifoptique" value="<?=$this->nettoyer($prestataire['tarifoptique'])?>" readonly></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td> <?= _("Pays") ?> </td>
|
|
<td><INPUT class="form-control" TYPE="text" id="codePays" NAME="codePays" value="<?=$this->nettoyer($prestataire['codePays'])?>" readonly></td>
|
|
|
|
<td align="center"> <?= _("Nom Pays") ?> </td>
|
|
<td><INPUT class="form-control" TYPE="text" id="pays" NAME="pays" value="<?=$this->nettoyer($prestataire['pays'])?>" readonly></td>
|
|
|
|
<td align="center"> <?= (isset($_SESSION['affichagedynamique']['Province'])) ? _($_SESSION['affichagedynamique']['Province']) : _("Province") ?> </td>
|
|
<td><INPUT class="form-control" TYPE="text" id="ville" NAME="ville" value="<?=$this->nettoyer($prestataire['ville'])?>" readonly></td>
|
|
|
|
<td align="center" > <?= (isset($_SESSION['affichagedynamique']['Commune'])) ? _($_SESSION['affichagedynamique']['Commune']) : _("Commune") ?> </td>
|
|
<td ><INPUT class="form-control" TYPE="text" id="localite" NAME="localite" value="<?=$this->nettoyer($prestataire['localite'])?>" readonly></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td> <?= _("Type Decpte") ?> </td>
|
|
<td><INPUT class="form-control" TYPE="text" value="<?= $typedecompte ?>" readonly></td>
|
|
|
|
<td align="center"> <?= _("Adresse Géo") ?> </td>
|
|
<td><INPUT class="form-control" TYPE="text" id="adresseGeo" NAME="adresseGeo" value="<?=$this->nettoyer($prestataire['adresseGeo'])?>" readonly></td>
|
|
|
|
<td align="center" > <?= _("Compte Cpt") ?> </td>
|
|
<td><INPUT class="form-control" TYPE="text" id="numeroCompte" NAME="numeroCompte" value="<?=$this->nettoyer($prestataire['numeroCompte'])?>" readonly></td>
|
|
|
|
<td align="center"> <?= _("Adresse Post") ?> </td>
|
|
<td><INPUT class="form-control" TYPE="text" id="adressePost" NAME="adressePost" value="<?=$this->nettoyer($prestataire['adressePost'])?>" readonly></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td> <?= _("Conventionné") ?> </td>
|
|
<td>
|
|
<?php if ($prestataire['conventionne']=="1"): ?>
|
|
<INPUT class="form-control" TYPE="text" value="<?= _("Oui") ?>" readonly>
|
|
<?php else: ?>
|
|
<INPUT class="form-control" TYPE="text" value="<?= _("Non") ?>" readonly>
|
|
<?php endif; ?>
|
|
</td>
|
|
|
|
<td align="center"> E-mail </td>
|
|
<td><INPUT class="form-control" TYPE="text" id="emailGestionPrestataire" NAME="emailGestionPrestataire" value="<?=$this->nettoyer($prestataire['emailGestionPrestataire'])?>" readonly></td>
|
|
|
|
<td align="center" > <?= _("Gest Réseau?") ?> </td>
|
|
<td>
|
|
<?php if ($prestataire['gestionreseau']=="1"): ?>
|
|
<INPUT class="form-control" TYPE="text" value="<?= _("Oui") ?>" readonly>
|
|
<?php else: ?>
|
|
<INPUT class="form-control" TYPE="text" value="<?= _("Non") ?>" readonly>
|
|
<?php endif; ?>
|
|
</td>
|
|
|
|
<td align="center"> <?= _("No Tél SMS") ?> </td>
|
|
<td><INPUT class="form-control" TYPE="text" id="smsGestionPrestataire" NAME="smsGestionPrestataire" value="<?=$this->nettoyer($prestataire['smsGestionPrestataire'])?>" readonly></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td> <?= _("Code Banque") ?> </td>
|
|
<td><INPUT class="form-control" TYPE="text" id="codeBanqueInterne" NAME="codeBanqueInterne" value="<?=$this->nettoyer($prestataire['codeBanqueInterne'])?>" readonly></td>
|
|
|
|
<td align="center"> <?= _("Banque") ?> </td>
|
|
<td><INPUT class="form-control" TYPE="text" id="banque" NAME="banque" value="<?=$this->nettoyer($prestataire['banque'])?>" readonly></td>
|
|
|
|
<td align="center" > <?= _("Code Guichet") ?> </td>
|
|
<td><INPUT class="form-control" TYPE="text" id="gestionreseau" NAME="gestionreseau" value="<?=$this->nettoyer($prestataire['codeGuichet'])?>" readonly></td>
|
|
|
|
<td align="center"> <?= _("Clé Rib") ?> </td>
|
|
<td><INPUT class="form-control" TYPE="text" id="cleRib" NAME="cleRib" value="<?=$this->nettoyer($prestataire['cleRib'])?>" readonly></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td> <?= _("Cpte bancaire") ?> </td>
|
|
<td colspan="3"><INPUT class="form-control" TYPE="text" id="numeroCompteBancaire" NAME="numeroCompteBancaire" value="<?=$this->nettoyer($prestataire['numeroCompteBancaire'])?>" readonly></td>
|
|
|
|
<td align="center"> Iban</td>
|
|
<td colspan="3"><INPUT class="form-control" TYPE="text" id="iban" NAME="iban" value="<?=$this->nettoyer($prestataire['iban'])?>" readonly></td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td> <?= _("Intititulé Cpte") ?> </td>
|
|
<td colspan="3"><INPUT class="form-control" TYPE="text" id="intituleCompteBancaire" NAME="intituleCompteBancaire" value="<?=$this->nettoyer($prestataire['intituleCompteBancaire'])?>" readonly></td>
|
|
|
|
<td align="center" > <?= _("Langue") ?> </td>
|
|
<td ><INPUT class="form-control" TYPE="text" id="codeLangueUser" NAME="codeLangueUser" value="<?=$this->nettoyer($prestataire['codeLanguePrestataire'])?>" readonly></td>
|
|
|
|
<td align="center" > <?= _("Ville Signature") ?> </td>
|
|
<td ><INPUT class="form-control" TYPE="text" id="villeSignature" NAME="villeSignature" value="<?=$this->nettoyer($prestataire['villeSignature'])?>" readonly></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td> <?= _("Registre Comm") ?> </td>
|
|
<td colspan="2"> <INPUT class="form-control" TYPE="text" id="registreCommerce" NAME="registreCommerce" value="<?=$this->nettoyer($prestataire['registreCommerce'])?>" readonly> </td>
|
|
|
|
<?php if($derogationFingerPrestatairePossible==1): ?>
|
|
<?php if($derogationFingerPrestataire==1): ?>
|
|
<td> <input style="font-size:10pt;" class = "form-control btn btn-danger" type="button" value="<?= _("Désactiver Dérogation Empreinte") ?>" onClick="javascript:desactiver_derogation_finger_prestataire('<?= $codePrestataire ?>');"></td>
|
|
<?php else: ?>
|
|
<td> <input style="font-size:10pt;" class = "form-control btn btn-primary" type="button" value="<?= _("Activer Dérogation Empreinte") ?>" onClick="javascript:activer_derogation_finger_prestataire('<?= $codePrestataire ?>');"></td>
|
|
<?php endif; ?>
|
|
<?php else: ?>
|
|
<td></td>
|
|
<?php endif; ?>
|
|
|
|
<td></td>
|
|
|
|
<?php if($actif==1): ?>
|
|
<td colspan="3"> <input style="font-size:10pt;" class = "form-control btn btn-danger" type="button" value="<?= _("Désactiver Prestataire") ?>" onClick="javascript:desactiver_prestataire('<?= $codePrestataire ?>');"></td>
|
|
<?php else: ?>
|
|
<td colspan="3"> <input style="font-size:10pt;" class = "form-control btn btn-primary" type="button" value="<?= _("Activer Prestataire") ?>" onClick="javascript:activer_prestataire('<?= $codePrestataire ?>');"></td>
|
|
<?php endif; ?>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
<?php if($derogationFingerPrestatairePossible==1): ?>
|
|
<legend> <?= _("Historique activation dérogation permanente empreinte digitale") ?> </legend>
|
|
|
|
<div id="div_historique_activation_derogation_finger">
|
|
|
|
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:10pt;">
|
|
<thead>
|
|
<tr>
|
|
<th style='text-align:center'> Date </th>
|
|
<th style='text-align:center'> <?= _("Motif") ?> </th>
|
|
<th style='text-align:center'> <?= _("Responsable") ?> </th>
|
|
<th style='text-align:center'> <?= _("Ancien Etat") ?> </th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<?php foreach ($hactivationderogationfingerprestataires as $hactivationderogationfingerprestataire):
|
|
$ancEtat = $hactivationderogationfingerprestataire['ancEtat'];
|
|
?>
|
|
<tr valign="top">
|
|
<td align='center'><?= dateheureLang($this->nettoyer($hactivationderogationfingerprestataire['dateSysteme'])) ?></td>
|
|
<td align='center'><?= $this->nettoyer($hactivationderogationfingerprestataire['motif']) ?></td>
|
|
<td align='center'><?= $this->nettoyer($hactivationderogationfingerprestataire['codeUtilisateur']) ?></td>
|
|
|
|
<td align='center'>
|
|
<?php if ($ancEtat=="1"): ?>
|
|
<?= _("Activée") ?>
|
|
<?php else: ?>
|
|
<?= _("Désactivée") ?>
|
|
<?php endif; ?>
|
|
</td>
|
|
</tr>
|
|
<?php endforeach; ?>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<?php endif; ?>
|
|
|
|
<div id="div_test">
|
|
</div>
|