41 lines
2.0 KiB
PHP
41 lines
2.0 KiB
PHP
<div id="barre_laterale_d" class="sidenav-context">
|
|
<div class="context-inner">
|
|
<div class="d-flex justify-content-between align-items-center mb-4">
|
|
<h6 class="fw-800 text-uppercase mb-0 text-muted small tracking-widest"><?= _("Contexte Actif") ?></h6>
|
|
<i class="bi bi-x-circle-fill fs-5 text-muted cursor-pointer" id="hideSideNav"></i>
|
|
</div>
|
|
|
|
<div class="context-group mb-4">
|
|
<label class="context-label"><?= _("Garant") ?></label>
|
|
<div class="context-value-box">
|
|
<i class="bi bi-shield-check text-primary me-2"></i>
|
|
<span class="fw-bold"><?= $this->nettoyer($_SESSION['nomGcAssureur_C']) ?></span>
|
|
</div>
|
|
</div>
|
|
|
|
<?php if(!empty($_SESSION['numeroClient_C'])): ?>
|
|
<div class="context-group mb-4 assured-card" onclick="afficher_client_id();">
|
|
<label class="context-label text-info"><?= _("Assuré en cours") ?></label>
|
|
<div class="d-flex align-items-center mt-2">
|
|
<div class="photo-wrapper">
|
|
<img src="<?= $_SESSION['photoAssureCrypte'] ?>" class="rounded-circle shadow-sm">
|
|
</div>
|
|
<div class="ms-3 overflow-hidden">
|
|
<div class="fw-bold text-dark text-truncate small"><?= $this->nettoyer($_SESSION['nomClient_C']) ?></div>
|
|
<div class="badge-id"><?= $_SESSION['numeroClient_C'] ?></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<?php endif; ?>
|
|
|
|
<?php if(!empty($_SESSION['numeroPolice_C'])): ?>
|
|
<div class="context-group" onclick="afficher_police_id_init();">
|
|
<label class="context-label"><?= _("Police Active") ?></label>
|
|
<div class="context-value-box border-dashed">
|
|
<i class="bi bi-file-earmark-text text-secondary me-2"></i>
|
|
<span class="fw-semibold small text-secondary"><?= $this->nettoyer($_SESSION['numeroPolice_C']) ?></span>
|
|
</div>
|
|
</div>
|
|
<?php endif; ?>
|
|
</div>
|
|
</div>
|