production/Vue/Recherche/index.php
2026-01-30 16:05:57 +00:00

61 lines
2.8 KiB
PHP
Executable File

<div class="card shadow-sm mb-4">
<div class="card-body p-3">
<h5 class="card-title mb-3 text-primary fw-bold">
<i class="bi bi-search me-2"></i><?= _("Recherche d'un assuré") ?>
</h5>
<form id="form_recherche" class="row g-2 align-items-end">
<div class="col-md-3">
<label class="form-label small fw-bold text-muted"><?= _("Nom ou Prénom") ?></label>
<input type="text" class="form-control" id="nom_recherche" name="nom_recherche" placeholder="<?= _("Ex: DOE") ?>">
</div>
<div class="col-md-2">
<label class="form-label small fw-bold text-muted"><?= _("Matricule / ID") ?></label>
<input type="text" class="form-control" id="id_recherche" name="id_recherche">
</div>
<div class="col-md-2">
<label class="form-label small fw-bold text-muted"><?= _("Date de naissance") ?></label>
<div class="input-group">
<span class="input-group-text bg-white"><i class="bi bi-calendar3"></i></span>
<input type="text" class="form-control datepicker" id="dn_recherche" name="dn_recherche">
</div>
</div>
<div class="col-md-2">
<label class="form-label small fw-bold text-muted"><?= _("Statut") ?></label>
<select class="form-select select2" id="statut_recherche" name="statut_recherche">
<option value="ALL"><?= _("Tous") ?></option>
<option value="ACTIF"><?= _("Actifs") ?></option>
<option value="RADIE"><?= _("Radiés") ?></option>
</select>
</div>
<div class="col-md-3">
<button type="button" class="btn btn-primary w-100" onclick="lancer_recherche_assure();">
<i class="bi bi-check-circle me-2"></i><?= _("Rechercher") ?>
</button>
</div>
</form>
</div>
</div>
<div class="card shadow-sm">
<div class="card-body p-0"> <div class="table-responsive">
<table id="table_resultats" class="table table-hover align-middle mb-0" style="width:100%">
<thead class="bg-light text-muted small text-uppercase">
<tr>
<th class="ps-3"><?= _("Identifiant") ?></th>
<th><?= _("Nom & Prénom") ?></th>
<th><?= _("Garant / Police") ?></th>
<th><?= _("Statut") ?></th>
<th class="text-end pe-3"><?= _("Actions") ?></th>
</tr>
</thead>
<tbody id="body_resultats">
</tbody>
</table>
</div>
</div>
</div>