This commit is contained in:
KONE SOREL 2026-01-22 14:09:42 +00:00
parent 80e6ecef89
commit 241e13fdb9

View File

@ -24,13 +24,13 @@
?>
<div id="div_liste" class="card shadow-lg border-0 mb-4" style="border-radius: 15px;">
<h1 class="text-primary"><i class="fas fa-file-invoice-dollar me-2"></i></i> <?= _('Détails du Remboursement') ?></h1>
<h1 class="text-primary"><i class="fas fa-file-invoice-dollar me-2"></i></i> <?= _('Détails du remboursement') ?></h1>
<div class="card-header d-flex justify-content-between align-items-center py-1">
<h5 class="mb-0 fw-bold">
<?= _("POLICE") ?> : <span class="text-secondary"><?= $numeroPolice; ?></span>
<span class="ms-3 badge bg-warning text-light small fw-normal"><?= _("Demande") ?>: <?= $numeroDemandeRemboursement; ?></span>
<span class="ms-3 badge bg-warning text-light small fw-normal"><?= _("Demande") ?>: <?= $numeroDemandeRemboursement; ?></span>
</h5>
</div>
@ -96,34 +96,37 @@
case "1":
$bgStatus = "bg-success";
$iconStatus = "fa-check-double";
$status = _("Demande validée");
break;
case "2":
$bgStatus = "bg-warning";
$iconStatus = "fa-hourglass-half";
$status = _("Demande en attente");
break;
default:
$bgStatus = "bg-danger";
$iconStatus = "fa-ban";
$status = _("Demande refusée");
break;
}
?>
<div class="<?= $bgStatus ?> text-white p-3 text-center">
<i class="fas <?= $iconStatus ?> fa-2x mb-2"></i>
<h5 class="mb-0 text-uppercase fw-bold"><?= ($codeStatutPaiement == "1") ? _("Demande Validée") : _("Demande Refusée") ?></h5>
<small class="opacity-75"><?= _("Répondu le") ?> <?= dateLang($demande['dateReponseDemandeRemboursement']) ?></small>
<h5 class="mb-0 text-uppercase fw-bold"><?= $status ?></h5>
<small class="opacity-75"><?= _("Répondu le") ?> <?= dateLang($demande['dateValidationRh']) ?></small>
</div>
<div class="p-3 bg-white">
<label class="small text-muted d-block mb-1"><?= _("Justification de l'assureur") ?> :</label>
<div class="p-3 bg-danger">
<label class="small text-muted d-block mb-1"><?= _("Justification de rejet") ?> :</label>
<div class="p-2 bg-light rounded small" style="min-height: 60px; border-left: 3px solid #ccc;">
<?= $this->nettoyer($demande['motifReponseDemandeRemboursement']) ?>
<?= $this->nettoyer($demande['motifRejetRh']) ?>
</div>
</div>
</div>
</div>
</div>
</div>
<?php if($idDemandeRemboursement > 0): ?>