frty
This commit is contained in:
parent
7235861826
commit
eb45482184
|
|
@ -56,8 +56,17 @@ class ControleurModifierbeneficiaire extends Controleur {
|
|||
$lienparente = $this->lienparente->getListeDependant();
|
||||
}
|
||||
|
||||
$this->genererVue(array('beneficiaire' => $beneficiaire, 'adherent' => $adherent, 'naturepiece' => $this->naturepiece, 'sexe' => $this->sexe,
|
||||
'groupesanguin' => $this->groupesanguin, 'lienparente' => $lienparente));
|
||||
$nombreGed = $this->beneficiaire->getNombreGedBeneficiaire($idBeneficiaire);
|
||||
|
||||
$this->genererVue(array(
|
||||
'beneficiaire' => $beneficiaire,
|
||||
'adherent' => $adherent,
|
||||
'naturepiece' => $this->naturepiece,
|
||||
'sexe' => $this->sexe,
|
||||
'groupesanguin' => $this->groupesanguin,
|
||||
'lienparente' => $lienparente,
|
||||
'nombreGed' => $nombreGed
|
||||
));
|
||||
}
|
||||
|
||||
public function modifier($prenoms=null) {
|
||||
|
|
|
|||
|
|
@ -14,6 +14,40 @@
|
|||
</h5>
|
||||
</div>
|
||||
|
||||
<div class="flex-grow-1 px-lg-4 my-3 my-lg-0" style="max-width: 600px;">
|
||||
<?php if($nombreGed > 0): ?>
|
||||
<div class="alert alert-success d-flex align-items-center m-0 py-2 px-3 border-0 shadow-sm" style="border-radius: 12px; background-color: #e8f5e9;">
|
||||
<i class="fas fa-check-circle fa-2x text-success me-3"></i>
|
||||
<div class="flex-grow-1">
|
||||
<h6 class="mb-0 fw-bold small text-success">
|
||||
<?= est_anglophone() ? 'Verified Folder' : 'Dossier Vérifié'; ?>
|
||||
</h6>
|
||||
<small class="d-block text-dark opacity-75" style="font-size: 8.5pt;">
|
||||
<?= est_anglophone() ? 'Identity documents are up to date.' : 'Les documents d’identité sont à jour.'; ?>
|
||||
</small>
|
||||
</div>
|
||||
<a href="Gedbeneficiaireprod/" class="btn btn-success btn-sm rounded-pill px-3 ms-2">
|
||||
<i class="fas fa-folder-open me-2"></i><?= _("Consulter la GED") ?>
|
||||
</a>
|
||||
</div>
|
||||
<?php else: ?>
|
||||
<div class="alert alert-danger d-flex align-items-center m-0 py-2 px-3 border-0 shadow-sm animate__animated animate__pulse animate__infinite" style="border-radius: 12px; background-color: #ffebee;">
|
||||
<i class="fas fa-exclamation-circle fa-2x text-danger me-3"></i>
|
||||
<div class="flex-grow-1">
|
||||
<h6 class="mb-0 fw-bold small text-danger">
|
||||
<?= est_anglophone() ? 'Incomplete File' : 'Dossier Incomplet'; ?>
|
||||
</h6>
|
||||
<small class="d-block text-dark fw-bold" style="font-size: 8.5pt;">
|
||||
<?= est_anglophone() ? 'Missing ID documents.' : 'Pièces d’identité manquantes.'; ?>
|
||||
</small>
|
||||
</div>
|
||||
<a href="Gedbeneficiaireprod/" class="btn btn-danger btn-sm rounded-pill px-3 ms-2 shadow-sm">
|
||||
<i class="fas fa-upload me-2"></i><?= _("Ouvrir la GED") ?>
|
||||
</a>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
|
||||
<form method="post" action="Modifierbeneficiaire/modifier/<?=$beneficiaire['id']?>/">
|
||||
|
||||
<input type="hidden" id="idPolice" name="idPolice" value="<?= $_SESSION['idPolice_C'] ?>">
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user