a
This commit is contained in:
parent
0b793eb4bf
commit
4e600ed375
38
Controleur/ControleurAjaxdelaisreponse.php
Normal file
38
Controleur/ControleurAjaxdelaisreponse.php
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
<?php
|
||||
require_once 'Framework/Controleur.php';
|
||||
require_once 'Modele/Ententeprealable.php';
|
||||
require_once 'Modele/Prestataire.php';
|
||||
|
||||
class ControleurAjaxdelaisreponse extends Controleur {
|
||||
private $ententeprealable;
|
||||
private $prestataire;
|
||||
|
||||
public function __construct() {
|
||||
$this->ententeprealable = new Ententeprealable();
|
||||
$this->prestataire = new Prestataire();
|
||||
}
|
||||
|
||||
public function index()
|
||||
{
|
||||
$codePrestataire = $this->requete->getParametreFormulaire("codePrestataire");
|
||||
$codeTypeDemande = $this->requete->getParametreFormulaire("codeTypeDemande");
|
||||
|
||||
$_SESSION['codePrestataire_C'] = $codePrestataire;
|
||||
|
||||
$prestataire_courant = $this->prestataire->getPrestataireCode( $_SESSION['codePrestataire_C']);
|
||||
|
||||
$debut = $this->requete->getParametreDate("debut");
|
||||
$fin = $this->requete->getParametreDate("fin");
|
||||
|
||||
$ententeprealables = $this->ententeprealable->getListedelaisentente($codePrestataire, $codeTypeDemande, $debut, $fin);
|
||||
|
||||
$this->genererVueAjax(array('ententeprealables' => $ententeprealables, 'codeTypeDemande' => $codeTypeDemande));
|
||||
}
|
||||
|
||||
public function vide()
|
||||
{
|
||||
$this->genererVueAjax(array());
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
96
Controleur/ControleurAjaxexporterlistenonsupporte.php
Normal file
96
Controleur/ControleurAjaxexporterlistenonsupporte.php
Normal file
|
|
@ -0,0 +1,96 @@
|
|||
<?php
|
||||
require_once 'vendor/autoload.php';
|
||||
use PhpOffice\PhpSpreadsheet\Spreadsheet;
|
||||
use PhpOffice\PhpSpreadsheet\Writer\Xlsx;
|
||||
require_once 'Framework/Controleurrequete.php'; // OK
|
||||
require_once 'Modele/Ententeprealable.php';
|
||||
require_once 'Modele/Prestataire.php';
|
||||
|
||||
class ControleurAjaxexporterlistenonsupporte extends Controleurrequete
|
||||
{
|
||||
private $ententeprealable;
|
||||
private $prestataire;
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
$this->ententeprealable = new Ententeprealable();
|
||||
$this->prestataire = new Prestataire();
|
||||
}
|
||||
|
||||
public function index()
|
||||
{
|
||||
$codePrestataire = $this->requete->getParametreFormulaire("codePrestataire");
|
||||
|
||||
$debut = $this->requete->getParametreDate("debut");
|
||||
$fin = $this->requete->getParametreDate("fin");
|
||||
|
||||
$listearticle = $this->ententeprealable->getListearticlenonsupporte($codePrestataire, $debut, $fin);
|
||||
|
||||
|
||||
if($codePrestataire !=""){
|
||||
$prestataire = $this->prestataire->getNomPrestataire($codePrestataire);
|
||||
}
|
||||
|
||||
// Excel
|
||||
|
||||
|
||||
$headerXLS = array
|
||||
(
|
||||
_('Date'),
|
||||
_('Type prestation'),
|
||||
_('Acte'),
|
||||
_('Prestataire'),
|
||||
_('No Bénéficiaire'),
|
||||
_('Bénéficiaire'),
|
||||
_('P U'),
|
||||
_('Qté'),
|
||||
_('P T'),
|
||||
_('TM'),
|
||||
_('A Remboursé')
|
||||
);
|
||||
|
||||
$dataXLS = array();
|
||||
|
||||
|
||||
foreach ($listearticle as $v)
|
||||
{
|
||||
$dataXLS[]=$v;
|
||||
}
|
||||
|
||||
|
||||
$classeur = new Spreadsheet();
|
||||
$classeur->getProperties()->setCreator("INTER-SANTE");
|
||||
$classeur->setActiveSheetIndex(0);
|
||||
$feuille=$classeur->getActiveSheet();
|
||||
$feuille->setTitle(_('ARTICLE_52'));
|
||||
|
||||
|
||||
//$feuille->setCellValue('A1', convertirc($_SESSION['nomSociete']));
|
||||
|
||||
if($codePrestataire==""){
|
||||
$feuille->setCellValue('A2', convertirc(_('LISTE DES ACTES SOUS ARTICLE 52 ').' '.dateLang($debut).' AU '.dateLang($fin)));
|
||||
}else{
|
||||
$feuille->setCellValue('A2', convertirc(_('LISTE DES ACTES SOUS ARTICLE 52 DE ').$prestataire.' DU '.dateLang($debut).' AU '.dateLang($debut)));
|
||||
}
|
||||
|
||||
$feuille->mergeCells('A2:D2');
|
||||
|
||||
|
||||
$feuille->fromArray($headerXLS, NULL, 'A5', true);
|
||||
$feuille->fromArray($dataXLS, NULL, 'A6', true);
|
||||
|
||||
//Forcer le téléchargement vers le navigateur;
|
||||
$fichier = 'Temp/TMP_DOSSIERS_RD'."_".uniqid().".xlsx";
|
||||
|
||||
$writer = new Xlsx($classeur);
|
||||
$writer->save($fichier);
|
||||
|
||||
$t_html =' <div id ="div_export_a" class="alert alert-info"> ';
|
||||
$t_html .=' <a style="font-size:15pt;" href="'.$fichier.'" target="_blank" > '._("TELECHARGER").' </a> ';
|
||||
$t_html .=' </div ';
|
||||
echo $t_html;
|
||||
|
||||
exit();
|
||||
}
|
||||
|
||||
}
|
||||
40
Controleur/ControleurAjaxlistearticlenonsupporte.php
Normal file
40
Controleur/ControleurAjaxlistearticlenonsupporte.php
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
<?php
|
||||
require_once 'Framework/Controleur.php';
|
||||
require_once 'Modele/Ententeprealable.php';
|
||||
require_once 'Modele/Prestataire.php';
|
||||
|
||||
class ControleurAjaxlistearticlenonsupporte extends Controleur {
|
||||
private $ententeprealable;
|
||||
private $prestataire;
|
||||
|
||||
public function __construct() {
|
||||
$this->ententeprealable = new Ententeprealable();
|
||||
$this->prestataire = new Prestataire();
|
||||
}
|
||||
|
||||
public function index()
|
||||
{
|
||||
$codePrestataire = $this->requete->getParametreFormulaire("codePrestataire");
|
||||
|
||||
|
||||
$_SESSION['codePrestataire_C'] = $codePrestataire;
|
||||
|
||||
$prestataire_courant = $this->prestataire->getPrestataireCode( $_SESSION['codePrestataire_C']);
|
||||
|
||||
$debut = $this->requete->getParametreDate("debut");
|
||||
$fin = $this->requete->getParametreDate("fin");
|
||||
|
||||
$listearticle = $this->ententeprealable->getListearticlenonsupporte($codePrestataire, $debut, $fin);
|
||||
|
||||
$totalarticle = $this->ententeprealable->getTotalarticlenonsupporte($codePrestataire, $debut, $fin);
|
||||
|
||||
$this->genererVueAjax(array('listearticle' => $listearticle, 'totalarticle' => $totalarticle));
|
||||
}
|
||||
|
||||
public function vide()
|
||||
{
|
||||
$this->genererVueAjax(array());
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
28
Controleur/ControleurDelaisreponseentente.php
Normal file
28
Controleur/ControleurDelaisreponseentente.php
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
<?php
|
||||
require_once 'Framework/Controleur.php';
|
||||
require_once 'Modele/Reponseententeprealable.php';
|
||||
require_once 'Modele/Prestataire.php';
|
||||
require_once 'Modele/Menuvueutilisateur.php';
|
||||
|
||||
class ControleurDelaisreponseentente extends Controleur {
|
||||
private $ententeprealable;
|
||||
private $reponse;
|
||||
|
||||
public function __construct() {
|
||||
$this->menuvue = new Menuvueutilisateur();
|
||||
$this->menuvue->getMenuVue('Delaisreponseentente');
|
||||
|
||||
$this->prestataire = new Prestataire();
|
||||
|
||||
$this->reponse = new Reponseententeprealable();
|
||||
|
||||
}
|
||||
|
||||
public function index() {
|
||||
$prestataire_courant = $this->prestataire->getPrestataireCode( $_SESSION['codePrestataire_C']);
|
||||
|
||||
$typeDemande = $this->reponse->getTypeDemande();
|
||||
|
||||
$this->genererVue(array('typeDemande' => $typeDemande));
|
||||
}
|
||||
}
|
||||
28
Controleur/ControleurListeactesnonsupportes.php
Normal file
28
Controleur/ControleurListeactesnonsupportes.php
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
<?php
|
||||
require_once 'Framework/Controleur.php';
|
||||
require_once 'Modele/Reponseententeprealable.php';
|
||||
require_once 'Modele/Prestataire.php';
|
||||
require_once 'Modele/Menuvueutilisateur.php';
|
||||
|
||||
class ControleurListeactesnonsupportes extends Controleur {
|
||||
private $ententeprealable;
|
||||
private $reponse;
|
||||
|
||||
public function __construct() {
|
||||
$this->menuvue = new Menuvueutilisateur();
|
||||
$this->menuvue->getMenuVue('Listeactesnonsupportes');
|
||||
|
||||
$this->prestataire = new Prestataire();
|
||||
|
||||
$this->reponse = new Reponseententeprealable();
|
||||
|
||||
}
|
||||
|
||||
public function index() {
|
||||
$prestataire_courant = $this->prestataire->getPrestataireCode( $_SESSION['codePrestataire_C']);
|
||||
|
||||
$typeDemande = $this->reponse->getTypeDemande();
|
||||
|
||||
$this->genererVue(array('typeDemande' => $typeDemande));
|
||||
}
|
||||
}
|
||||
74
Vue/Ajaxdelaisreponse/index.php
Normal file
74
Vue/Ajaxdelaisreponse/index.php
Normal file
|
|
@ -0,0 +1,74 @@
|
|||
<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>
|
||||
<?php if($codeTypeDemande=="AUT"):?>
|
||||
<th rowspan="2" style='text-align:center'> <?= _("Acte") ?> </th>
|
||||
<?php elseif($codeTypeDemande=="PHA"):?>
|
||||
<th rowspan="2" style='text-align:center'> <?= _("Médicament") ?> </th>
|
||||
<?php else:?>
|
||||
<th rowspan="2" style='text-align:center'> <?= _("Acte") ?> </th>
|
||||
<?php endif;?>
|
||||
<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'> <?= _("Délai global") ?> </th>
|
||||
<th colspan="4" style='text-align:center'> <?= _("Délai en détail") ?> </th>
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th style='text-align:center'> <?= _("Jours") ?> </th>
|
||||
<th style='text-align:center'> <?= _("Heures") ?> </th>
|
||||
<th style='text-align:center'> <?= _("Minutes") ?> </th>
|
||||
<th style='text-align:center'> <?= _("Secondes") ?> </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']);
|
||||
|
||||
|
||||
?>
|
||||
<?php if($codeReponseEntentePrealable=='9'): ?>
|
||||
<tr valign="top" style="background-color: red;color:white;">
|
||||
<?php else: ?>
|
||||
<tr valign="top">
|
||||
<?php endif; ?>
|
||||
<td align='center'><?= $numeroEntentePrealable ?></td>
|
||||
<td align='center'><?= dateheureLang($this->nettoyer($ententeprealable['dateSysteme'])) ?></td>
|
||||
|
||||
<?php if($codeTypeDemande=="AUT"):?>
|
||||
<td align='center'><?= $this->nettoyer($ententeprealable['libelleActe']) ?></td>
|
||||
<?php elseif($codeTypeDemande=="PHA"):?>
|
||||
<td align='center'><?= $this->nettoyer($ententeprealable['libelleMedicament']) ?></td>
|
||||
<?php else:?>
|
||||
<td align='center'><?= $this->nettoyer($ententeprealable['libelleOptique']) ?></td>
|
||||
<?php endif;?>
|
||||
<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['delais_global']) ?></td>
|
||||
|
||||
<td align='center'><?= $this->nettoyer($ententeprealable['nb_jour']) ?></td>
|
||||
<td align='center'><?= $this->nettoyer($ententeprealable['nb_heure']) ?></td>
|
||||
<td align='center'><?= $this->nettoyer($ententeprealable['nb_minute']) ?></td>
|
||||
<td align='center'><?= $this->nettoyer($ententeprealable['nb_seconde']) ?></td>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
25
Vue/Ajaxdelaisreponse/vide.php
Normal file
25
Vue/Ajaxdelaisreponse/vide.php
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
<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'> <?= _("Acte") ?> </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>
|
||||
56
Vue/Ajaxlistearticlenonsupporte/index.php
Normal file
56
Vue/Ajaxlistearticlenonsupporte/index.php
Normal file
|
|
@ -0,0 +1,56 @@
|
|||
<div id="div_liste">
|
||||
<table class="table table-striped table-bordered table-condensed table-responsive" style="font-size:8pt;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style='text-align:center'> Date </th>
|
||||
<th colspan="2" style='text-align:center'> <?= _("Acte") ?> </th>
|
||||
<th style='text-align:center'> <?= _("Prestataire") ?> </th>
|
||||
<th colspan="2" style='text-align:center'> <?= _("Bénéficiaire") ?> </th>
|
||||
<th style='text-align:center'> <?= _("P U") ?> </th>
|
||||
<th style='text-align:center'> <?= _("Qté") ?> </th>
|
||||
<th style='text-align:center'> <?= _("P T") ?> </th>
|
||||
<th style='text-align:center'> <?= _("T M") ?> </th>
|
||||
<th style='text-align:center'> <?= _("A Remboursé") ?> </th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tfoot>
|
||||
<tr>
|
||||
<td colspan="8" style='text-align:center'> Total </td>
|
||||
<td align='center'><?= format_N($this->nettoyer($totalarticle['total_fraisReel'])) ?></td>
|
||||
<td align='center'><?= format_N($this->nettoyer($totalarticle['total_montantTm'])) ?></td>
|
||||
<td align='center'><?= format_N($this->nettoyer($totalarticle['total_montantArembourser'])) ?></td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
|
||||
|
||||
<tbody>
|
||||
<?php foreach ($listearticle as $v):
|
||||
|
||||
$libelleActe = $v['libelleActe'];
|
||||
|
||||
if (est_anglophone()){
|
||||
$libelleActe = $v['libelleActeEng'];
|
||||
}
|
||||
?>
|
||||
<tr valign="top">
|
||||
<td align='center'><?= dateheureLang($this->nettoyer($v['dateSysteme'])) ?></td>
|
||||
|
||||
<td align='center'><?= $this->nettoyer($v['typeprestation']) ?></td>
|
||||
<td ><?= $libelleActe ?></td>
|
||||
|
||||
<td align='center'><?= $this->nettoyer($v['prestataire']) ?></td>
|
||||
|
||||
<td align='center'><?= $this->nettoyer($v['numeroBeneficiaire']) ?></td>
|
||||
<td><?= $this->nettoyer($v['beneficiaire']) ?></td>
|
||||
|
||||
<td align='center'><?= $this->nettoyer($v['valeurActe']) ?></td>
|
||||
<td align='center'><?= $this->nettoyer($v['quantite']) ?></td>
|
||||
<td align='center'><?= $this->nettoyer($v['fraisReel']) ?></td>
|
||||
<td align='center'><?= $this->nettoyer($v['montantTm']) ?></td>
|
||||
<td align='center'><?= $this->nettoyer($v['montantArembourser']) ?></td>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
25
Vue/Ajaxlistearticlenonsupporte/vide.php
Normal file
25
Vue/Ajaxlistearticlenonsupporte/vide.php
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
<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'> <?= _("Acte") ?> </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>
|
||||
|
|
@ -6,8 +6,12 @@
|
|||
|
||||
<div class="div_list_puce" class="row">
|
||||
<ul>
|
||||
<h3><li><a href="javascript:consulter_un_dossier();"> <?= _("Factures d'un dossier") ?> </a></li></h3>
|
||||
<h3><li><a href="javascript:consulter_un_dossier();"> <?= _("Factures d'un dossier") ?> </a></li></h3>
|
||||
|
||||
<h3><li><a href="javascript:consulter_une_factures();"> <?= _("Consulter une Facture") ?> </a></li></h3>
|
||||
<h3><li><a href="javascript:consulter_une_factures();"> <?= _("Consulter une Facture") ?> </a></li></h3>
|
||||
|
||||
<h3><li><a href="javascript:actes_article_52();"> <?= _("Liste des actes sous article 52") ?> </a></li></h3>
|
||||
|
||||
<h3><li><a href="javascript:delais_reponse_entente();"> <?= _("Délais de réponse des Ententes préalables") ?> </a></li></h3>
|
||||
</ul>
|
||||
</div>
|
||||
137
Vue/Delaisreponseentente/index.php
Normal file
137
Vue/Delaisreponseentente/index.php
Normal file
|
|
@ -0,0 +1,137 @@
|
|||
<?php
|
||||
$this->titre = "INTER-SANTE - Délais de réponses des ententes préalables";
|
||||
?>
|
||||
|
||||
<button class="sr-only" id="btn_exporter" name="btn_exporter" type="button" data-toggle="modal" data-target="#pop_exporter"> </button>
|
||||
|
||||
<input class="sr-only" type="text" id="codePrestataire" name="codePrestataire" value="<?= $_SESSION['codePrestataire_C'] ?>">
|
||||
|
||||
<input class="form-control" style="text-align: center; font-size:10pt;" type="text" id="nbligne" name="nbligne" value="DELAIS DE REPONSE DES DEMANDES D'ENTENTE PREALABLE" readonly>
|
||||
<table class="table table-responsive table-condensed" style='font-size:10pt;'>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td width="10%"> <?= _("Prestataire") ?> </td>
|
||||
<td colspan="3">
|
||||
<?php if ($_SESSION['prestataire_C']>" "): ?>
|
||||
<button onclick="javascript:consulter_delais_entente();" type="button" class="form-control btn btn-primary" data-toggle="modal" data-target="#popRecherchePrestataire" style='font-size:10pt;' style='font-size:10pt;' ><span id="nomPrestataire" name="nomPrestataire"> <?= $_SESSION['prestataire_C'] ?> </span></button>
|
||||
<?php else : ?>
|
||||
<button onclick="javascript:consulter_delais_entente();" type="button" class="form-control btn btn-primary" data-toggle="modal" data-target="#popRecherchePrestataire" style='font-size:10pt;' style='font-size:10pt;' ><span id="nomPrestataire" name="nomPrestataire"> <?= _("Tous / Rechercher Prestataire...") ?> </span></button>
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
|
||||
<td width="5%" align="center"> <?= _("Type") ?> </td>
|
||||
<td >
|
||||
<SELECT onChange="consulter_delais_entente();" class="form-control" id="codeTypeDemande" NAME="codeTypeDemande" style='font-size:10pt;'>
|
||||
<?php liste_options($typeDemande, "AUT",true); ?>
|
||||
</SELECT>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> <?= _("Période du") ?> </td>
|
||||
<td width="15%"> <INPUT style='text-align:center; font-size:10pt;' class="form-control datepicker" TYPE="text" id="debut" NAME="debut" value="<?= dateLang($_SESSION['dUneSemaineAvant_C'], $_SESSION['lang']) ?>" required </td>
|
||||
|
||||
<td width="10%" align="center"> <?= _("au") ?> </td>
|
||||
<td width="15%"> <INPUT style='text-align:center; font-size:10pt;' class="form-control datepicker" TYPE="text" id="fin" NAME="fin" value="<?= dateCouranteLang($_SESSION['lang']) ?>" required> </td>
|
||||
|
||||
<td> </td>
|
||||
<td> <button style='font-size:10pt;' type="button" class="form-control btn btn-primary" onclick="javascript:consulter_delais_entente();"><?= _("Actualiser...") ?></button> </td>
|
||||
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<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>
|
||||
<?php if($codeTypeDemande=="AUT"):?>
|
||||
<th rowspan="2" style='text-align:center'> <?= _("Acte") ?> </th>
|
||||
<?php elseif($codeTypeDemande=="PHA"):?>
|
||||
<th rowspan="2" style='text-align:center'> <?= _("Médicament") ?> </th>
|
||||
<?php else:?>
|
||||
<th rowspan="2" style='text-align:center'> <?= _("Acte") ?> </th>
|
||||
<?php endif;?>
|
||||
<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 colspan="4" style='text-align:center'> <?= _("Délai réponse") ?> </th>
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th style='text-align:center'> <?= _("Jours") ?> </th>
|
||||
<th style='text-align:center'> <?= _("Heures") ?> </th>
|
||||
<th style='text-align:center'> <?= _("Minutes") ?> </th>
|
||||
<th style='text-align:center'> <?= _("Secondes") ?> </th>
|
||||
</tr>
|
||||
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="modal fade" id="popRecherchePrestataire" role="dialog" data-backdrop="static" data-keyboard="false" >
|
||||
<div class="modal-dialog modal-lg">
|
||||
<div class="modal-content">
|
||||
|
||||
<div class="modal-header">
|
||||
<button id="btn_close_pop" name="btn_close_pop" type="button" class="close" data-dismiss="modal"> <?= _("Fermer") ?> </button>
|
||||
<h4 class="modal-title"> <?= _("Rechercher un prestataire...") ?> </h4>
|
||||
</div>
|
||||
|
||||
<div class="modal-body">
|
||||
<div id="div_listeprestataires" onkeypress="javascript:ctrlkeypress_prestataire(event);">
|
||||
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style='font-size:10pt;'>
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="text-align:center" width="15%" > Code </th>
|
||||
<th width="50%" style="text-align:center" > <?= _("Nom contenant...") ?> </th>
|
||||
<th colspan="2" style="text-align:center" > Type </th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><input type="text" class="form-control" id="codesearch" name="codesearch" autofocus style='font-size:10pt;' ></td>
|
||||
<td><input type="text" class="form-control" id="nomsearch" name="nomsearch" autofocus style='font-size:10pt;' ></td>
|
||||
<td><input type="button" class = "form-control btn btn-info" style='font-size:10pt;' value="<?= _("Rechercher...") ?>" onclick="javascript:afficher_pop_recherche_prestataire();" /></td>
|
||||
<td><input type="button" class = "form-control btn btn-info" style='font-size:10pt;' value="<?= _("Ré-initialiser...") ?>" onclick="javascript:reinitialiser_prestataire();" /></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="modal-footer">
|
||||
<button id="close_pop" name="close_pop" type="button" class="btn btn-default" data-dismiss="modal"> <?= _("Fermer") ?> </button>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="modal fade" id="pop_exporter" role="dialog" data-backdrop="static" data-keyboard="false" >
|
||||
<div class="modal-dialog modal-lg">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<button id="btn_close_pop" name="btn_close_pop" type="button" class="close" data-dismiss="modal"> <?= _("Fermer") ?> </button>
|
||||
<h4 class="modal-title"> <?= _("Exporter...") ?> </h4>
|
||||
</div>
|
||||
|
||||
<div class="modal-body">
|
||||
<div id="div_export_delais">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-default" data-dismiss="modal"> <?= _("Fermer") ?> </button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
112
Vue/Listeactesnonsupportes/index.php
Normal file
112
Vue/Listeactesnonsupportes/index.php
Normal file
|
|
@ -0,0 +1,112 @@
|
|||
<?php
|
||||
$this->titre = "INTER-SANTE - Liste des actes sous article 52";
|
||||
?>
|
||||
|
||||
<button class="sr-only" id="btn_exporter" name="btn_exporter" type="button" data-toggle="modal" data-target="#pop_exporter"> </button>
|
||||
|
||||
<input class="sr-only" type="text" id="codePrestataire" name="codePrestataire" value="<?= $_SESSION['codePrestataire_C'] ?>">
|
||||
|
||||
<input class="form-control" style="text-align: center; font-size:10pt;" type="text" id="nbligne" name="nbligne" value="<?= _("LISTE DES ACTES SOUS ARTICLE 52") ?>" readonly>
|
||||
<table class="table table-responsive table-condensed" style='font-size:10pt;'>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td width="10%"> <?= _("Prestataire") ?> </td>
|
||||
<td colspan="3">
|
||||
<?php if ($_SESSION['prestataire_C']>" "): ?>
|
||||
<button onclick="javascript:consulter_liste_article52();" type="button" class="form-control btn btn-primary" data-toggle="modal" data-target="#popRecherchePrestataire" style='font-size:10pt;' style='font-size:10pt;' ><span id="nomPrestataire" name="nomPrestataire"> <?= $_SESSION['prestataire_C'] ?> </span></button>
|
||||
<?php else : ?>
|
||||
<button onclick="javascript:consulter_liste_article52();" type="button" class="form-control btn btn-primary" data-toggle="modal" data-target="#popRecherchePrestataire" style='font-size:10pt;' style='font-size:10pt;' ><span id="nomPrestataire" name="nomPrestataire"> <?= _("Tous / Rechercher Prestataire...") ?> </span></button>
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
|
||||
<td width="5%" align="center"> </td>
|
||||
<td >
|
||||
<button onclick="javascript:export_article_52();" type="button" class="form-control btn btn-success" style='font-size:10pt;' style='font-size:10pt;' > <?= _("Exporter") ?> </button>
|
||||
</td>
|
||||
<!--
|
||||
<td > </td>
|
||||
|
||||
<td >
|
||||
<button onclick="javascript:download_article_52();" type="button" class="form-control btn btn-danger" style='font-size:10pt;' style='font-size:10pt;' > <?= _("Télécharger") ?> </button>
|
||||
</td>
|
||||
-->
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td> <?= _("Période du") ?> </td>
|
||||
<td width="15%"> <INPUT style='text-align:center; font-size:10pt;' class="form-control datepicker" TYPE="text" id="debut" NAME="debut" value="<?= dateLang($_SESSION['dUneSemaineAvant_C'], $_SESSION['lang']) ?>" required </td>
|
||||
|
||||
<td width="10%" align="center"> <?= _("au") ?> </td>
|
||||
<td width="15%"> <INPUT style='text-align:center; font-size:10pt;' class="form-control datepicker" TYPE="text" id="fin" NAME="fin" value="<?= dateCouranteLang($_SESSION['lang']) ?>" required> </td>
|
||||
|
||||
<td> </td>
|
||||
<td > <button style='font-size:10pt;' type="button" class="form-control btn btn-primary" onclick="javascript:consulter_liste_article52();"><?= _("Actualiser...") ?></button> </td>
|
||||
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<div id="div_export_article">
|
||||
|
||||
</div>
|
||||
|
||||
<div id="div_liste">
|
||||
<table class="table table-striped table-bordered table-condensed table-responsive" style="font-size:8pt;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style='text-align:center'> Date </th>
|
||||
<th colspan="2" style='text-align:center'> <?= _("Acte") ?> </th>
|
||||
<th style='text-align:center'> <?= _("Prestataire") ?> </th>
|
||||
<th colspan="2" style='text-align:center'> <?= _("Bénéficiaire") ?> </th>
|
||||
<th style='text-align:center'> <?= _("P U") ?> </th>
|
||||
<th style='text-align:center'> <?= _("Qté") ?> </th>
|
||||
<th style='text-align:center'> <?= _("P T") ?> </th>
|
||||
<th style='text-align:center'> <?= _("T M") ?> </th>
|
||||
<th style='text-align:center'> <?= _("A Remboursé") ?> </th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="modal fade" id="popRecherchePrestataire" role="dialog" data-backdrop="static" data-keyboard="false" >
|
||||
<div class="modal-dialog modal-lg">
|
||||
<div class="modal-content">
|
||||
|
||||
<div class="modal-header">
|
||||
<button id="btn_close_pop" name="btn_close_pop" type="button" class="close" data-dismiss="modal"> <?= _("Fermer") ?> </button>
|
||||
<h4 class="modal-title"> <?= _("Rechercher un prestataire...") ?> </h4>
|
||||
</div>
|
||||
|
||||
<div class="modal-body">
|
||||
<div id="div_listeprestataires" onkeypress="javascript:ctrlkeypress_prestataire(event);">
|
||||
<table class="table table-striped table-bordered table-hover table-condensed table-responsive" style='font-size:10pt;'>
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="text-align:center" width="15%" > Code </th>
|
||||
<th width="50%" style="text-align:center" > <?= _("Nom contenant...") ?> </th>
|
||||
<th colspan="2" style="text-align:center" > Type </th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><input type="text" class="form-control" id="codesearch" name="codesearch" autofocus style='font-size:10pt;' ></td>
|
||||
<td><input type="text" class="form-control" id="nomsearch" name="nomsearch" autofocus style='font-size:10pt;' ></td>
|
||||
<td><input type="button" class = "form-control btn btn-info" style='font-size:10pt;' value="<?= _("Rechercher...") ?>" onclick="javascript:afficher_pop_recherche_prestataire();" /></td>
|
||||
<td><input type="button" class = "form-control btn btn-info" style='font-size:10pt;' value="<?= _("Ré-initialiser...") ?>" onclick="javascript:reinitialiser_prestataire();" /></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="modal-footer">
|
||||
<button id="close_pop" name="close_pop" type="button" class="btn btn-default" data-dismiss="modal"> <?= _("Fermer") ?> </button>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
Loading…
Reference in New Issue
Block a user