a
This commit is contained in:
parent
eaea80844e
commit
518dfa0902
|
|
@ -44,11 +44,14 @@ class ControleurTraitementproformahospitalisation extends Controleur {
|
|||
$siRefus = $this->examen->siRefus($idProforma);
|
||||
|
||||
$hospit_total = $this->examen->cumulProformaHospitalisation($idProforma);
|
||||
|
||||
$corrigerPrixProforma = $this->examen->get_corriger_prix_roforma();
|
||||
$ajoutActeProforma = $this->examen->get_ajout_acte_proforma();
|
||||
|
||||
$this->genererVue(array('idProforma' => $idProforma, 'motifexamens' => $motifexamens, 'examen' => $examen,
|
||||
'detailexamens' => $detailexamens, 'situationBeneficiaire' => $situationBeneficiaire, 'choix' => $choix,
|
||||
'hospit_total' => $hospit_total, 'accorderTout' => $accorderTout, 'refuserTout' => $refuserTout,
|
||||
'siRefus' => $siRefus));
|
||||
'siRefus' => $siRefus, 'corrigerPrixProforma' => $corrigerPrixProforma, 'ajoutActeProforma' => $ajoutActeProforma));
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -544,5 +544,26 @@ class Examen extends Modele {
|
|||
$this->executerRequete($sql, array($codeSociete, $numeroFeuilleMaladie, $user, $nomConsommable,
|
||||
$prixconsommable, $quantiteconsommable, $idProforma, $idSaisie));
|
||||
}
|
||||
|
||||
public function get_corriger_prix_roforma()
|
||||
{
|
||||
$sql = 'SELECT fn_corriger_prix_proforma() AS corrigerPrixProforma;';
|
||||
|
||||
$resultat = $this->executerRequete($sql)->fetch(PDO::FETCH_ASSOC);
|
||||
|
||||
$corrigerPrixProforma = $resultat['corrigerPrixProforma'];
|
||||
|
||||
return $corrigerPrixProforma;
|
||||
}
|
||||
|
||||
public function get_ajout_acte_proforma()
|
||||
{
|
||||
$sql = 'SELECT fn_ajout_acte_proforma() AS ajoutActeProforma;';
|
||||
|
||||
$resultat = $this->executerRequete($sql)->fetch(PDO::FETCH_ASSOC);
|
||||
|
||||
$ajoutActeProforma = $resultat['ajoutActeProforma'];
|
||||
|
||||
return $ajoutActeProforma;
|
||||
}
|
||||
}
|
||||
|
|
@ -22,6 +22,14 @@ foreach ($motifexamens as $motifexamen):
|
|||
<?php endif;
|
||||
|
||||
$demandeTraite = $this->nettoyer($examen['demandeTraite']);
|
||||
|
||||
var_dump(
|
||||
array(
|
||||
"corrigerPrixProforma" => $corrigerPrixProforma,
|
||||
"ajoutActeProforma" => $ajoutActeProforma,
|
||||
)
|
||||
);
|
||||
|
||||
?>
|
||||
|
||||
<legend class="modal-title text-center"><?= _("TRAITEMENT PROFORMA HOSPITALISATION CHIRURGICALE");?></legend>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user