This commit is contained in:
KANE LAZENI 2026-07-09 12:18:05 +00:00
parent f398364a3c
commit 1ce9da11d0
2 changed files with 11 additions and 3 deletions

View File

@ -43,8 +43,6 @@
$_SESSION['p_numeroFeuilleMaladie_C'] = isset($_SESSION['p_numeroFeuilleMaladie_C']) ? $_SESSION['p_numeroFeuilleMaladie_C']: "0";
var_dump($_SESSION['p_dateDebutProforma_C']);
?>
<legend> <?= _("Proforma d'hospitalisation chirurgicale").$numero ?> </legend>

View File

@ -1,6 +1,5 @@
<?php
$this->titre = "INTER-SANTE - proforma hospitalisation";
$idProforma = (isset($_SESSION['p_idProforma_C']) && $idBeneficiaire > "0") ? $_SESSION['p_idProforma_C'] : '0';
$dateDebutProforma = (isset($_SESSION['p_dateDebutProforma_C']) && $idBeneficiaire > "0") ? dateLang($_SESSION['p_dateDebutProforma_C'], $_SESSION['p_lang']) : dateLang(date('Y-m-d'), $_SESSION['p_lang']);
@ -26,6 +25,17 @@
$etatbeneficiaire = $_SESSION['p_etatbeneficiaire_P'];
$token = $_SESSION['csrf_token_submieted'];
$dateDebutProforma = (isset($_SESSION['p_dateDebutProforma_C']) && $idBeneficiaire > "0") ? dateLang($_SESSION['p_dateDebutProforma_C'], $_SESSION['p_lang']) : dateLang(date('Y-m-d'), $_SESSION['p_lang']);
var_dump(
array(
"dateDebutProforma" => $dateDebutProforma,
"p_dateDebutProforma_C" => $_SESSION['p_dateDebutProforma_C'],
"date_defaut_1" => dateLang(date('Y-m-d'), $_SESSION['p_lang']),
"date_defaut_2" => date('Y-m-d'),
)
);
?>
<legend> <?= _("Proforma d'hospitalisation chirurgicale").$numero ?> </legend>