fers
This commit is contained in:
parent
851562c76d
commit
e032cefe66
|
|
@ -1,19 +1,23 @@
|
|||
<?php
|
||||
require_once 'Framework/Controleur.php';
|
||||
require_once 'Modele/Prestataire.php';
|
||||
require_once 'Modele/Police.php';
|
||||
|
||||
class ControleurAjaxrequeteentetefeuillemaladie extends Controleur {
|
||||
private $prestataire;
|
||||
private $sppolice;
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
$this->prestataire = new Prestataire();
|
||||
}
|
||||
public function __construct()
|
||||
{
|
||||
$this->sppolice = new Police();
|
||||
}
|
||||
|
||||
public function index()
|
||||
public function index()
|
||||
{
|
||||
$prestataire_courant = $this->prestataire->getPrestataireCode( $_SESSION['codePrestataire_C']);
|
||||
$idPolice = $_SESSION['idPolice_C'];
|
||||
|
||||
$this->genererVueAjax(array('prestataire_courant' => $prestataire_courant));
|
||||
}
|
||||
$dj = date("Y-m-d");
|
||||
|
||||
$sppoliceentete = $this->sppolice->getRapportSpPoliceEntete($idPolice, $dj);
|
||||
|
||||
$this->genererVue(array('sppoliceentete' => $sppoliceentete));
|
||||
}
|
||||
}
|
||||
48
Vue/Ajaxrequeteenteteresumesinistres/index.php
Normal file
48
Vue/Ajaxrequeteenteteresumesinistres/index.php
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
<div id="div_ente_requete" class="card border-0 shadow-sm bg-light mb-4" style="border-radius: 12px;">
|
||||
<input type="hidden" id="codePrestataire" name="codePrestataire" value="<?= $_SESSION['codePrestataire_C'] ?>">
|
||||
|
||||
<div class="card-body p-3">
|
||||
<div class="row g-3 align-items-end">
|
||||
|
||||
<div class="col-12 col-md-5">
|
||||
<label class="form-label small fw-bold text-muted text-uppercase mb-1">
|
||||
<i class="fas fa-calendar-alt me-1 text-primary"></i> <?= _("Période de recherche") ?>
|
||||
</label>
|
||||
<div class="input-group input-group-sm">
|
||||
<input class="form-control datepicker text-center fw-bold" type="text" id="dateFacture1" name="dateFacture1"
|
||||
value="<?= dateLang($this->nettoyer($sppoliceentete['dateEffet']), $_SESSION['lang']) ?>" required>
|
||||
<span class="input-group-text bg-white fw-bold border-start-0 border-end-0"><?= _("au") ?></span>
|
||||
<input class="form-control datepicker text-center fw-bold" type="text" id="dateFacture2" name="dateFacture2"
|
||||
value="<?= $_SESSION['finRequeteFr_C'] ?>" required>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-6 col-md-2">
|
||||
<label class="form-label small fw-bold text-muted text-uppercase mb-1"><?= _("Volume") ?></label>
|
||||
<div class="input-group input-group-sm">
|
||||
<span class="input-group-text bg-dark text-white"><i class="fas fa-list-ol"></i></span>
|
||||
<input class="form-control text-center bg-white fw-bold" type="text" id="nbligne" name="nbligne" value="0" readonly>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-6 col-md-5">
|
||||
<div class="d-flex gap-2">
|
||||
<button type="button" class="btn btn-primary btn-sm flex-grow-1 fw-bold shadow-sm" onclick="javascript:requetes_feuilles_maladie();">
|
||||
<i class="fas fa-search me-2"></i><?= _("Afficher") ?>
|
||||
</button>
|
||||
|
||||
<button type="button" class="btn btn-success btn-sm flex-grow-1 fw-bold shadow-sm" onclick="javascript:requetes_factures_export();">
|
||||
<i class="fas fa-file-excel me-2"></i><?= _("Exporter") ?>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="div_detail_requete" class="animate__animated animate__fadeIn">
|
||||
</div>
|
||||
|
||||
<div id="div_export_a" class="d-none">
|
||||
</div>
|
||||
Loading…
Reference in New Issue
Block a user