a
This commit is contained in:
parent
404019e852
commit
b0f503a181
28
Controleur/ControleurAjaxmouvementassure.php
Normal file
28
Controleur/ControleurAjaxmouvementassure.php
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
<?php
|
||||
require_once 'Framework/Controleur.php';
|
||||
require_once 'Modele/Mouvementassure.php';
|
||||
|
||||
class ControleurAjaxmouvementassure extends Controleur {
|
||||
|
||||
public function __construct() {
|
||||
$this->Mouvementassure = new Mouvementassure();
|
||||
}
|
||||
|
||||
public function index()
|
||||
{
|
||||
$codeReponseEntentePrealable = $this->requete->getParametreFormulaire("codeReponseEntentePrealable");
|
||||
|
||||
$debut = $this->requete->getParametreDate("debut");
|
||||
$fin = $this->requete->getParametreDate("fin");
|
||||
|
||||
$ententeprealables = $this->ententeprealable->getEntenteprealablespha($codeReponseEntentePrealable, $debut, $fin);
|
||||
|
||||
$this->genererVueAjax(array('ententeprealables' => $ententeprealables));
|
||||
}
|
||||
|
||||
public function vide()
|
||||
{
|
||||
$this->genererVueAjax(array());
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -3467,19 +3467,16 @@ function liste_mouvemements_assures()
|
|||
donnees += '&valide='+valide;
|
||||
donnees += '&debut='+debut+'&fin='+fin;
|
||||
|
||||
alert(donnees);
|
||||
return;
|
||||
|
||||
$("#div_ententeprealable").html('<div style="padding-top:80px;"><img src="Bootstrap/images/loading.gif"/> <span style="font-size:15pt;">' + 'Veuillez patienter... / Please wait...' + '</span></div>');
|
||||
$("#div_mvt").html('<div style="padding-top:80px;"><img src="Bootstrap/images/loading.gif"/> <span style="font-size:15pt;">' + 'Veuillez patienter... / Please wait...' + '</span></div>');
|
||||
|
||||
$.ajax({
|
||||
url: $("#racineWeb").val()+"Ajaxententeprealablespha/",
|
||||
url: $("#racineWeb").val()+"Ajaxmouvementassure/",
|
||||
type : 'post',
|
||||
data: donnees,
|
||||
error: function(errorData) {
|
||||
},
|
||||
success: function(data) {
|
||||
$("#div_ententeprealable").html(data);
|
||||
$("#div_mvt").html(data);
|
||||
},
|
||||
complete: function() {
|
||||
}
|
||||
|
|
|
|||
386
Modele/Mouvementassure.php
Normal file
386
Modele/Mouvementassure.php
Normal file
|
|
@ -0,0 +1,386 @@
|
|||
<?php
|
||||
require_once 'Framework/Modele.php';
|
||||
|
||||
class Mouvementassure extends Modele {
|
||||
|
||||
public function getEntenteprealablesFeuilleMaladie($numeroFeuilleMaladie)
|
||||
{
|
||||
$sql = 'call sp_p_get_ententeprealable_feuillemaladie(?)';
|
||||
|
||||
$resultat = $this->executerRequete($sql, array($numeroFeuilleMaladie));
|
||||
|
||||
return $resultat->fetchAll(PDO::FETCH_ASSOC);
|
||||
}
|
||||
|
||||
public function getEntenteprealables($codePrestataire, $codeReponseEntentePrealable, $debut, $fin)
|
||||
{
|
||||
$codePrestataire = contruireParamLike($codePrestataire);
|
||||
$codeReponseEntentePrealable = contruireParamLike($codeReponseEntentePrealable);
|
||||
|
||||
if (est_anglophone())
|
||||
{
|
||||
$sql = 'call sp_get_ententeprealables_eng(?, ?, ?, ?)';
|
||||
}
|
||||
else
|
||||
{
|
||||
$sql = 'call sp_get_ententeprealables(?, ?, ?, ?)';
|
||||
}
|
||||
|
||||
$resultat = $this->executerRequete($sql, array($codePrestataire, $codeReponseEntentePrealable, $debut, $fin));
|
||||
|
||||
return $resultat->fetchAll(PDO::FETCH_ASSOC);
|
||||
}
|
||||
|
||||
public function getActesExclus($codePrestataire, $codeReponseAutorisation, $debut, $fin)
|
||||
{
|
||||
$codePrestataire = contruireParamLike($codePrestataire);
|
||||
$codeReponseAutorisation = contruireParamLike($codeReponseAutorisation);
|
||||
|
||||
$sql = 'call sp_get_actes_exclus(?, ?, ?, ?)';
|
||||
|
||||
$resultat = $this->executerRequete($sql, array($codePrestataire, $codeReponseAutorisation, $debut, $fin));
|
||||
|
||||
return $resultat->fetchAll(PDO::FETCH_ASSOC);
|
||||
}
|
||||
|
||||
public function getEntenteprealableId($idDemandeententeprealable)
|
||||
{
|
||||
if (est_anglophone())
|
||||
{
|
||||
$sql = 'call sp_get_ententeprealable_id_simple_eng(?)';
|
||||
}
|
||||
else
|
||||
{
|
||||
$sql = 'call sp_get_ententeprealable_id_simple(?)';
|
||||
}
|
||||
|
||||
|
||||
$resultat = $this->executerRequete($sql, array($idDemandeententeprealable));
|
||||
|
||||
return $resultat->fetch(PDO::FETCH_ASSOC);
|
||||
}
|
||||
|
||||
public function getActeExcluId($idDemandeautorisation)
|
||||
{
|
||||
$sql = 'call sp_get_acte_exclu_id_simple(?)';
|
||||
|
||||
$resultat = $this->executerRequete($sql, array($idDemandeautorisation));
|
||||
|
||||
return $resultat->fetch(PDO::FETCH_ASSOC);
|
||||
}
|
||||
|
||||
public function enregistrerrefusententeprealable($idDemandeententeprealable, $motifReel, $motifRefusAssure)
|
||||
{
|
||||
$user = $_SESSION['login'];
|
||||
|
||||
$sql = 'call sp_refuser_ententeprealable(?, ?, ?, ?)';
|
||||
|
||||
$this->executerRequete($sql, array($idDemandeententeprealable, $motifReel, $motifRefusAssure, $user));
|
||||
}
|
||||
|
||||
public function enregistreraccordententeprealable($idDemandeententeprealable, $motifReel)
|
||||
{
|
||||
$user = $_SESSION['login'];
|
||||
|
||||
$sql = 'call sp_accepter_ententeprealable(?, ?, ?)';
|
||||
|
||||
$this->executerRequete($sql, array($idDemandeententeprealable, $motifReel, $user));
|
||||
}
|
||||
|
||||
public function getententeprealablesbenficiaire($idBeneficiaire, $d1, $d2)
|
||||
{
|
||||
$sql = 'call sp_get_ententeprealables_beneficiaire(?, ?, ?)';
|
||||
|
||||
$resultat = $this->executerRequete($sql, array($idBeneficiaire, $d1, $d2));
|
||||
|
||||
return $resultat->fetchAll(PDO::FETCH_ASSOC);
|
||||
}
|
||||
|
||||
public function getacteexclusbenficiaire($idBeneficiaire, $d1, $d2)
|
||||
{
|
||||
$sql = 'call sp_get_autorisations_beneficiaire(?, ?, ?)';
|
||||
|
||||
$resultat = $this->executerRequete($sql, array($idBeneficiaire, $d1, $d2));
|
||||
|
||||
return $resultat->fetchAll(PDO::FETCH_ASSOC);
|
||||
}
|
||||
|
||||
public function enregistrerrefusacteexclu($idDemandeautorisation, $motifReel, $motifRefusAssure)
|
||||
{
|
||||
$user = $_SESSION['login'];
|
||||
|
||||
$sql = 'call sp_refuser_autorisation(?, ?, ?, ?)';
|
||||
|
||||
$this->executerRequete($sql, array($idDemandeautorisation, $motifReel, $motifRefusAssure, $user));
|
||||
}
|
||||
|
||||
public function enregistreraccordacteexclu($idDemandeautorisation, $motifReel, $valeurActe)
|
||||
{
|
||||
$user = $_SESSION['login'];
|
||||
|
||||
$sql = 'call sp_accepter_autorisation(?, ?, ?, ?)';
|
||||
|
||||
$this->executerRequete($sql, array($idDemandeautorisation, $motifReel, $user, $valeurActe));
|
||||
}
|
||||
|
||||
public function requetesententeprealable($codePrestataire, $dateDemande1, $dateDemande2, $numeroAdherent, $numeroBeneficiaire,
|
||||
$numeroEntentePrealable1, $numeroEntentePrealable2, $codeReponseEntentePrealable, $adherent, $beneficiaire, $libelleActe, $libelleFamilleActe)
|
||||
{
|
||||
$codePrestataire = contruireParamLike($codePrestataire);
|
||||
$numeroAdherent = contruireParamLike($numeroAdherent);
|
||||
$numeroBeneficiaire = contruireParamLike($numeroBeneficiaire);
|
||||
$codeReponseEntentePrealable = contruireParamLike($codeReponseEntentePrealable);
|
||||
$adherent = contruireParamLike($adherent);
|
||||
$beneficiaire = contruireParamLike($beneficiaire);
|
||||
$libelleActe = contruireParamLike($libelleActe);
|
||||
$libelleFamilleActe = contruireParamLike($libelleFamilleActe);
|
||||
|
||||
$sql = 'call sp_requetes_ententeprealable(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)';
|
||||
|
||||
$resultat = $this->executerRequete($sql, array($codePrestataire, $dateDemande1, $dateDemande2, $numeroAdherent, $numeroBeneficiaire,
|
||||
$numeroEntentePrealable1, $numeroEntentePrealable2, $codeReponseEntentePrealable, $adherent, $beneficiaire, $libelleActe, $libelleFamilleActe));
|
||||
|
||||
return $resultat->fetchAll(PDO::FETCH_ASSOC);
|
||||
}
|
||||
|
||||
public function requetesententeprealabletotal($codePrestataire, $dateDemande1, $dateDemande2, $numeroAdherent, $numeroBeneficiaire,
|
||||
$numeroEntentePrealable1, $numeroEntentePrealable2, $codeReponseEntentePrealable, $adherent, $beneficiaire, $libelleActe, $libelleFamilleActe)
|
||||
{
|
||||
$codePrestataire = contruireParamLike($codePrestataire);
|
||||
$numeroAdherent = contruireParamLike($numeroAdherent);
|
||||
$numeroBeneficiaire = contruireParamLike($numeroBeneficiaire);
|
||||
$codeReponseEntentePrealable = contruireParamLike($codeReponseEntentePrealable);
|
||||
$adherent = contruireParamLike($adherent);
|
||||
$beneficiaire = contruireParamLike($beneficiaire);
|
||||
$libelleActe = contruireParamLike($libelleActe);
|
||||
$libelleFamilleActe = contruireParamLike($libelleFamilleActe);
|
||||
|
||||
$sql = 'call sp_requetes_ententeprealable_total(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)';
|
||||
|
||||
$resultat = $this->executerRequete($sql, array($codePrestataire, $dateDemande1, $dateDemande2, $numeroAdherent, $numeroBeneficiaire,
|
||||
$numeroEntentePrealable1, $numeroEntentePrealable2, $codeReponseEntentePrealable, $adherent, $beneficiaire, $libelleActe, $libelleFamilleActe));
|
||||
|
||||
return $resultat->fetch(PDO::FETCH_ASSOC);
|
||||
}
|
||||
|
||||
public function requetesententeprealableexport($codePrestataire, $dateDemande1, $dateDemande2, $numeroAdherent, $numeroBeneficiaire,
|
||||
$numeroEntentePrealable1, $numeroEntentePrealable2, $codeReponseEntentePrealable, $adherent, $beneficiaire, $libelleActe, $libelleFamilleActe)
|
||||
{
|
||||
$codePrestataire = contruireParamLike($codePrestataire);
|
||||
$numeroAdherent = contruireParamLike($numeroAdherent);
|
||||
$numeroBeneficiaire = contruireParamLike($numeroBeneficiaire);
|
||||
$codeReponseEntentePrealable = contruireParamLike($codeReponseEntentePrealable);
|
||||
$adherent = contruireParamLike($adherent);
|
||||
$beneficiaire = contruireParamLike($beneficiaire);
|
||||
$libelleActe = contruireParamLike($libelleActe);
|
||||
$libelleFamilleActe = contruireParamLike($libelleFamilleActe);
|
||||
|
||||
$sql = 'call sp_requetes_ententeprealable_export(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)';
|
||||
|
||||
$resultat = $this->executerRequete($sql, array($codePrestataire, $dateDemande1, $dateDemande2, $numeroAdherent, $numeroBeneficiaire,
|
||||
$numeroEntentePrealable1, $numeroEntentePrealable2, $codeReponseEntentePrealable, $adherent, $beneficiaire, $libelleActe, $libelleFamilleActe));
|
||||
|
||||
return $resultat->fetchAll(PDO::FETCH_ASSOC);
|
||||
}
|
||||
|
||||
public function getEntenteprealablespha($codeReponseEntentePrealable, $debut, $fin)
|
||||
{
|
||||
$codeReponseEntentePrealable = contruireParamLike($codeReponseEntentePrealable);
|
||||
|
||||
if (est_anglophone())
|
||||
{
|
||||
$sql = 'call sp_get_ententeprealables_pha_eng(?, ?, ?)';
|
||||
}
|
||||
else
|
||||
{
|
||||
$sql = 'call sp_get_ententeprealables_pha(?, ?, ?)';
|
||||
}
|
||||
|
||||
$resultat = $this->executerRequete($sql, array($codeReponseEntentePrealable, $debut, $fin));
|
||||
|
||||
return $resultat->fetchAll(PDO::FETCH_ASSOC);
|
||||
}
|
||||
|
||||
public function getEntenteprealablephaId($idDemandeententeprealable)
|
||||
{
|
||||
if (est_anglophone())
|
||||
{
|
||||
$sql = 'call sp_get_ententeprealable_pha_id_simple_eng(?)';
|
||||
}
|
||||
else
|
||||
{
|
||||
$sql = 'call sp_get_ententeprealable_pha_id_simple(?)';
|
||||
}
|
||||
|
||||
$resultat = $this->executerRequete($sql, array($idDemandeententeprealable));
|
||||
|
||||
return $resultat->fetch(PDO::FETCH_ASSOC);
|
||||
}
|
||||
|
||||
public function enregistreraccordententeprealablepha($idDemandeententeprealable, $motifReel, $prixAccorde, $quantiteAccorde)
|
||||
{
|
||||
$user = $_SESSION['login'];
|
||||
|
||||
$sql = 'call sp_accepter_ententeprealable_pha(?, ?, ?, ?, ?)';
|
||||
|
||||
$this->executerRequete($sql, array($idDemandeententeprealable, $motifReel, $prixAccorde, $quantiteAccorde, $user));
|
||||
}
|
||||
|
||||
public function enregistrerrefusententeprealablepha($idDemandeententeprealable, $motifReel, $motifRefusAssure)
|
||||
{
|
||||
$user = $_SESSION['login'];
|
||||
|
||||
$sql = 'call sp_refuser_ententeprealable_pha(?, ?, ?, ?)';
|
||||
|
||||
$this->executerRequete($sql, array($idDemandeententeprealable, $motifReel, $motifRefusAssure, $user));
|
||||
}
|
||||
|
||||
public function requetesententeprealablepha($codePrestataire, $dateDemande1, $dateDemande2, $codeReponseEntentePrealable)
|
||||
{
|
||||
$codePrestataire = contruireParamLike($codePrestataire);
|
||||
$codeReponseEntentePrealable = contruireParamLike($codeReponseEntentePrealable);
|
||||
|
||||
$sql = 'call sp_requetes_ententeprealable_pha(?, ?, ?, ?)';
|
||||
|
||||
$resultat = $this->executerRequete($sql, array($codePrestataire, $dateDemande1, $dateDemande2, $codeReponseEntentePrealable));
|
||||
|
||||
return $resultat->fetchAll(PDO::FETCH_ASSOC);
|
||||
}
|
||||
|
||||
public function requetesententeprealablephaexport($codePrestataire, $dateDemande1, $dateDemande2, $codeReponseEntentePrealable)
|
||||
{
|
||||
$codePrestataire = contruireParamLike($codePrestataire);
|
||||
$codeReponseEntentePrealable = contruireParamLike($codeReponseEntentePrealable);
|
||||
|
||||
$sql = 'call sp_requetes_ententeprealable_pha_export(?, ?, ?, ?)';
|
||||
|
||||
$resultat = $this->executerRequete($sql, array($codePrestataire, $dateDemande1, $dateDemande2, $codeReponseEntentePrealable));
|
||||
|
||||
return $resultat->fetchAll(PDO::FETCH_ASSOC);
|
||||
}
|
||||
|
||||
public function getEntenteprealablesopt($codeReponseEntentePrealable, $debut, $fin)
|
||||
{
|
||||
$codeReponseEntentePrealable = contruireParamLike($codeReponseEntentePrealable);
|
||||
|
||||
if (est_anglophone())
|
||||
{
|
||||
$sql = 'call sp_get_ententeprealables_opt_eng(?, ?, ?)';
|
||||
}
|
||||
else
|
||||
{
|
||||
$sql = 'call sp_get_ententeprealables_opt(?, ?, ?)';
|
||||
}
|
||||
|
||||
$resultat = $this->executerRequete($sql, array($codeReponseEntentePrealable, $debut, $fin));
|
||||
|
||||
return $resultat->fetchAll(PDO::FETCH_ASSOC);
|
||||
}
|
||||
|
||||
public function getEntenteprealableoptId($idDemandeententeprealable)
|
||||
{
|
||||
if (est_anglophone())
|
||||
{
|
||||
$sql = 'call sp_get_ententeprealable_opt_id_simple_eng(?)';
|
||||
}
|
||||
else
|
||||
{
|
||||
$sql = 'call sp_get_ententeprealable_opt_id_simple(?)';
|
||||
}
|
||||
|
||||
$resultat = $this->executerRequete($sql, array($idDemandeententeprealable));
|
||||
|
||||
return $resultat->fetch(PDO::FETCH_ASSOC);
|
||||
}
|
||||
|
||||
//
|
||||
public function enregistreraccordententeprealableopt($idDemandeententeprealable, $motifReel, $prixAccorde)
|
||||
{
|
||||
$user = $_SESSION['login'];
|
||||
|
||||
$sql = 'call sp_accepter_ententeprealable_opt(?, ?, ?, ?)';
|
||||
|
||||
$this->executerRequete($sql, array($idDemandeententeprealable, $motifReel, $prixAccorde, $user));
|
||||
}
|
||||
|
||||
public function enregistrerrefusententeprealableopt($idDemandeententeprealable, $motifReel, $motifRefusAssure)
|
||||
{
|
||||
$user = $_SESSION['login'];
|
||||
|
||||
$sql = 'call sp_refuser_ententeprealable_opt(?, ?, ?, ?)';
|
||||
|
||||
$this->executerRequete($sql, array($idDemandeententeprealable, $motifReel, $motifRefusAssure, $user));
|
||||
}
|
||||
|
||||
// Ententeprealablesmont
|
||||
|
||||
public function getEntenteprealablesmont($codeReponseEntentePrealable, $debut, $fin)
|
||||
{
|
||||
$codeReponseEntentePrealable = contruireParamLike($codeReponseEntentePrealable);
|
||||
|
||||
if (est_anglophone())
|
||||
{
|
||||
$sql = 'call sp_get_ententeprealables_mont_eng(?, ?, ?)';
|
||||
}
|
||||
else
|
||||
{
|
||||
$sql = 'call sp_get_ententeprealables_mont(?, ?, ?)';
|
||||
}
|
||||
|
||||
$resultat = $this->executerRequete($sql, array($codeReponseEntentePrealable, $debut, $fin));
|
||||
|
||||
return $resultat->fetchAll(PDO::FETCH_ASSOC);
|
||||
}
|
||||
|
||||
public function getEntenteprealablemontId($idDemandeententeprealable)
|
||||
{
|
||||
if (est_anglophone())
|
||||
{
|
||||
$sql = 'call sp_get_ententeprealable_mont_id_simple_eng(?)';
|
||||
}
|
||||
else
|
||||
{
|
||||
$sql = 'call sp_get_ententeprealable_mont_id_simple(?)';
|
||||
}
|
||||
|
||||
$resultat = $this->executerRequete($sql, array($idDemandeententeprealable));
|
||||
|
||||
return $resultat->fetch(PDO::FETCH_ASSOC);
|
||||
}
|
||||
|
||||
//
|
||||
public function enregistreraccordententeprealablemont($idDemandeententeprealable, $motifReel, $prixAccorde)
|
||||
{
|
||||
$user = $_SESSION['login'];
|
||||
|
||||
$sql = 'call sp_accepter_ententeprealable_mont(?, ?, ?, ?)';
|
||||
|
||||
$this->executerRequete($sql, array($idDemandeententeprealable, $motifReel, $prixAccorde, $user));
|
||||
}
|
||||
|
||||
public function enregistrerrefusententeprealablemont($idDemandeententeprealable, $motifReel, $motifRefusAssure)
|
||||
{
|
||||
$user = $_SESSION['login'];
|
||||
|
||||
$sql = 'call sp_refuser_ententeprealable_mont(?, ?, ?, ?)';
|
||||
|
||||
$this->executerRequete($sql, array($idDemandeententeprealable, $motifReel, $motifRefusAssure, $user));
|
||||
}
|
||||
|
||||
public function getdernieresfacturesoptiques($idBeneficiaire)
|
||||
{
|
||||
if (est_anglophone())
|
||||
{
|
||||
$sql = 'call sp_get_derniereres_factures_optique_eng(?)';
|
||||
}
|
||||
else
|
||||
{
|
||||
$sql = 'call sp_get_derniereres_factures_optique(?)';
|
||||
}
|
||||
|
||||
$resultat = $this->executerRequete($sql, array($idBeneficiaire));
|
||||
|
||||
return $resultat->fetchAll(PDO::FETCH_ASSOC);
|
||||
}
|
||||
|
||||
}
|
||||
93
Vue/Ajaxmouvementassure/index.php
Normal file
93
Vue/Ajaxmouvementassure/index.php
Normal file
|
|
@ -0,0 +1,93 @@
|
|||
<div id="div_ententeprealable">
|
||||
<table class="table table-striped table-bordered table-condensed table-responsive" style="font-size:8pt;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th rowspan="2" style='text-align:center'> No </th>
|
||||
<th rowspan="2" style='text-align:center'> Date </th>
|
||||
<th rowspan="2" style='text-align:center'> <?= _("Médicament") ?> </th>
|
||||
<th rowspan="2" style='text-align:center'> <?= _("Qté") ?> </th>
|
||||
<th rowspan="2" style='text-align:center'> <?= _("Prestataire") ?> </th>
|
||||
<th rowspan="2" colspan="2" style='text-align:center'> <?= _("Bénéficiaire") ?> </th>
|
||||
<th rowspan="2" style='text-align:center'> <?= _("Répondue le") ?> </th>
|
||||
<th rowspan="2" style='text-align:center'> <?= _("Répondue par") ?> </th>
|
||||
<th rowspan="2" style='text-align:center'> <?= _("Situation") ?> </th>
|
||||
<th colspan="2" style='text-align:center'> <?= _("Motif Réponse") ?> </th>
|
||||
<th rowspan="2" style='text-align:center'> <?= _("Facturé") ?> </th>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th style='text-align:center'> <?= _("Réel") ?> </th>
|
||||
<th style='text-align:center'> <?= _("A l'assuré") ?> </th>
|
||||
</tr>
|
||||
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
<?php foreach ($ententeprealables as $ententeprealable):
|
||||
$idDemandeententeprealable = $this->nettoyer($ententeprealable['idDemandeententeprealable']);
|
||||
$codeReponseEntentePrealable = $this->nettoyer($ententeprealable['codeReponseEntentePrealable']);
|
||||
$numeroEntentePrealable = $this->nettoyer($ententeprealable['numeroEntentePrealable']);
|
||||
$facture = $this->nettoyer($ententeprealable['facture']);
|
||||
$ajoutPrestataire = $this->nettoyer($ententeprealable['ajoutPrestataire']);
|
||||
?>
|
||||
|
||||
<?php if($codeReponseEntentePrealable=='2'): ?>
|
||||
<tr valign="top" style="background-color: yellow;">
|
||||
<?php elseif($codeReponseEntentePrealable=='1'): ?>
|
||||
<tr valign="top" style="background-color: #00ff00;">
|
||||
<?php elseif($codeReponseEntentePrealable=='9'): ?>
|
||||
<tr valign="top" style="background-color: red;color:white;">
|
||||
<?php else: ?>
|
||||
<tr valign="top">
|
||||
<?php endif; ?>
|
||||
|
||||
<td align='center'>
|
||||
<input type="button" value="<?= $numeroEntentePrealable ?> "
|
||||
onClick="javascript:consulter_ententeprealable_pha_2(<?= $idDemandeententeprealable ?>);">
|
||||
</td>
|
||||
|
||||
<td align='center'><?= dateheureLang($this->nettoyer($ententeprealable['dateSysteme'])) ?></td>
|
||||
|
||||
<?php if ($ajoutPrestataire=="1"): ?>
|
||||
<td style="background-color: #ED7F10; color:white" align='center'><?= $this->nettoyer($ententeprealable['libelleMedicament']) ?></td>
|
||||
<?php else: ?>
|
||||
<td align='center'><?= $this->nettoyer($ententeprealable['libelleMedicament']) ?></td>
|
||||
<?php endif; ?>
|
||||
|
||||
<td align='center'><?= $this->nettoyer($ententeprealable['quantite']) ?></td>
|
||||
<td align='center'><?= $this->nettoyer($ententeprealable['prestataire']) ?></td>
|
||||
|
||||
<td align='center'><?= $this->nettoyer($ententeprealable['numeroBeneficiaire']) ?></td>
|
||||
<td><?= $this->nettoyer($ententeprealable['beneficiaire']) ?></td>
|
||||
|
||||
<td align='center'><?= dateheureLang($this->nettoyer($ententeprealable['dateReponse'])) ?></td>
|
||||
<td align='center'><?= $this->nettoyer($ententeprealable['responsableAccord']) ?></td>
|
||||
<td align='center'><?= $this->nettoyer($ententeprealable['reponsentEnteprealable']) ?></td>
|
||||
|
||||
<?php if ($codeReponseEntentePrealable=='2'): ?>
|
||||
<td align="center" >
|
||||
<input style="color:blue;" type="button" value="<?= _("Accepter") ?>"
|
||||
onClick="javascript:accepter_ententeprealable_pha(<?= $idDemandeententeprealable ?>, <?= $facture ?>);">
|
||||
</td>
|
||||
|
||||
<td align="center">
|
||||
<input style="color:red;" type="button" value="<?= _("Refuser") ?>"
|
||||
onClick="javascript:refuser_ententeprealable_pha(<?= $idDemandeententeprealable ?>, <?= $facture ?>);">
|
||||
</td>
|
||||
<?php elseif($codeReponseEntentePrealable=='1'): ?>
|
||||
<td colspan="2" align='center'><?= $this->nettoyer($ententeprealable['motifReel']) ?></td>
|
||||
<?php elseif($codeReponseEntentePrealable=='9'): ?>
|
||||
<td align='center'><?= $this->nettoyer($ententeprealable['motifReel']) ?></td>
|
||||
<td align='center'><?= $this->nettoyer($ententeprealable['motifRefusAssure']) ?></td>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($facture=="1"): ?>
|
||||
<td align='center'> <input type="checkbox" checked disabled></td>
|
||||
<?php else: ?>
|
||||
<td align='center'> <input type="checkbox" disabled></td>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php endforeach; ?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
27
Vue/Ajaxmouvementassure/vide.php
Normal file
27
Vue/Ajaxmouvementassure/vide.php
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
<table class="table table-striped table-bordered table-condensed table-responsive" style="font-size:8pt;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th rowspan="2" style='text-align:center'> No </th>
|
||||
<th rowspan="2" style='text-align:center'> Date </th>
|
||||
<th rowspan="2" style='text-align:center'> <?= _("Médicament") ?> </th>
|
||||
<th rowspan="2" style='text-align:center'> <?= _("Qté") ?> </th>
|
||||
<th rowspan="2" style='text-align:center'> <?= _("Prestataire") ?> </th>
|
||||
<th rowspan="2" colspan="2" style='text-align:center'> <?= _("Bénéficiaire") ?> </th>
|
||||
<th rowspan="2" style='text-align:center'> <?= _("Répondue le") ?> </th>
|
||||
<th rowspan="2" style='text-align:center'> <?= _("Répondue par") ?> </th>
|
||||
<th rowspan="2" style='text-align:center'> <?= _("Situation") ?> </th>
|
||||
<th colspan="2" style='text-align:center'> <?= _("Motif Réponse") ?> </th>
|
||||
<th rowspan="2" style='text-align:center'> <?= _("Facturé") ?> </th>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th style='text-align:center'> <?= _("Réel") ?> </th>
|
||||
<th style='text-align:center'> <?= _("A l'assuré") ?> </th>
|
||||
</tr>
|
||||
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
|
@ -32,7 +32,7 @@
|
|||
</tbody>
|
||||
</table>
|
||||
|
||||
<div id="div_ententeprealable">
|
||||
<div id="div_mvt">
|
||||
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style="font-size:8pt;">
|
||||
<thead>
|
||||
<tr>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user