This commit is contained in:
KONE SOREL 2026-04-03 11:39:20 +00:00
parent d5dc022606
commit 88f446fe1a

View File

@ -13,7 +13,7 @@
</div>
</div>
<div class="text-end d-none d-md-block">
<span class="badge bg-light text-dark border px-3 py-2 fw-bold" style="border-radius: var(--radius-sm);">
<span class="badge bg-light text-muted border px-3 py-2 fw-bold" style="border-radius: var(--radius-sm);">
<i class="fas fa-globe me-2 text-primary"></i><?= $this->nettoyer($_SESSION['libelleLang']) ?>
</span>
</div>
@ -32,34 +32,34 @@
<div class="card-body p-4">
<div class="row g-3">
<div class="col-md-3">
<label class="form-label small text-dark fw-bold"><?= _("Code") ?></label>
<label class="form-label small text-muted fw-bold"><?= _("Code") ?></label>
<div class="p-2 bg-light border rounded text-center fw-bold text-primary"><?= $this->nettoyer($societeuser['codeSociete']) ?></div>
</div>
<div class="col-md-6">
<label class="form-label small text-dark fw-bold"><?= _("Dénomination") ?></label>
<label class="form-label small text-muted fw-bold"><?= _("Dénomination") ?></label>
<input class="form-control border-0 bg-light" type="text" value="<?=$this->nettoyer($societeuser['nomSociete'])?>" readonly>
</div>
<div class="col-md-3">
<label class="form-label small text-dark fw-bold"><?= _("Sigle") ?></label>
<label class="form-label small text-muted fw-bold"><?= _("Sigle") ?></label>
<input class="form-control border-0 bg-light" type="text" value="<?=$this->nettoyer($societeuser['sigleSociete'])?>" readonly>
</div>
<div class="col-12 mt-4">
<div class="row g-3 p-3 rounded bg-primary-ghost">
<div class="col-md-6">
<label class="form-label small text-dark fw-bold"><i class="fas fa-map-marker-alt me-1 text-primary"></i> <?= _("Siège Social") ?></label>
<label class="form-label small text-muted fw-bold"><i class="fas fa-map-marker-alt me-1 text-primary"></i> <?= _("Siège Social") ?></label>
<textarea class="form-control form-control-sm border-0 bg-white" rows="2" readonly><?=$this->nettoyer($societeuser['adresseGeoSociete'])?></textarea>
</div>
<div class="col-md-6">
<label class="form-label small text-dark fw-bold"><i class="fas fa-box me-1 text-primary"></i> <?= _("Boite Postale") ?></label>
<label class="form-label small text-muted fw-bold"><i class="fas fa-box me-1 text-primary"></i> <?= _("Boite Postale") ?></label>
<textarea class="form-control form-control-sm border-0 bg-white" rows="2" readonly><?=$this->nettoyer($societeuser['adressePostSociete'])?></textarea>
</div>
<div class="col-md-6">
<label class="form-label small text-dark fw-bold"><?= _("Ville") ?></label>
<label class="form-label small text-muted fw-bold"><?= _("Ville") ?></label>
<input class="form-control form-control-sm border-0 bg-white" type="text" value="<?=$this->nettoyer($societeuser['ville'])?>" readonly>
</div>
<div class="col-md-6">
<label class="form-label small text-dark fw-bold"><?= _("Pays") ?></label>
<label class="form-label small text-muted fw-bold"><?= _("Pays") ?></label>
<input class="form-control form-control-sm border-0 bg-white fw-bold" type="text" value="<?=$societeuser['pays']?>" readonly>
</div>
</div>
@ -83,19 +83,19 @@
<div class="card-body px-4 pt-0">
<ul class="list-group list-group-flush border-top border-light">
<li class="list-group-item d-flex justify-content-between align-items-center px-0 py-3 bg-transparent">
<span class="small text-dark fw-bold"><i class="fas fa-phone-alt me-2 text-primary opacity-50"></i><?= _("Standard Fixe") ?></span>
<span class="small text-muted fw-bold"><i class="fas fa-phone-alt me-2 text-primary opacity-50"></i><?= _("Standard Fixe") ?></span>
<span class="fw-medium"><?= $this->nettoyer($societeuser['telephoneSociete']) ?></span>
</li>
<li class="list-group-item d-flex justify-content-between align-items-center px-0 py-3 bg-transparent">
<span class="small text-dark fw-bold"><i class="fas fa-mobile-alt me-2 text-primary opacity-50"></i><?= _("Ligne Directe") ?></span>
<span class="small text-muted fw-bold"><i class="fas fa-mobile-alt me-2 text-primary opacity-50"></i><?= _("Ligne Directe") ?></span>
<span class="fw-medium"><?= $this->nettoyer($societeuser['portable']) ?></span>
</li>
<li class="list-group-item d-flex justify-content-between align-items-center px-0 py-3 bg-transparent">
<span class="small text-dark fw-bold"><i class="fas fa-envelope me-2 text-primary opacity-50"></i><?= _("Email Officiel") ?></span>
<span class="small text-muted fw-bold"><i class="fas fa-envelope me-2 text-primary opacity-50"></i><?= _("Email Officiel") ?></span>
<span class="fw-medium"><?= $this->nettoyer($societeuser['emailSociete']) ?></span>
</li>
<li class="list-group-item d-flex justify-content-between align-items-center px-0 py-3 bg-transparent border-bottom-0">
<span class="small text-dark fw-bold"><i class="fas fa-fax me-2 text-primary opacity-50"></i><?= _("Fax") ?></span>
<span class="small text-muted fw-bold"><i class="fas fa-fax me-2 text-primary opacity-50"></i><?= _("Fax") ?></span>
<span class="fw-medium"><?= $this->nettoyer($societeuser['faxSociete']) ?></span>
</li>
</ul>
@ -130,16 +130,16 @@
<div class="p-3 border rounded shadow-xs h-100 transition-base hover-shadow-sm">
<div class="d-flex align-items-center mb-2">
<i class="fas <?= $s['i'] ?> text-primary opacity-50 me-2"></i>
<span class="small fw-bold text-dark"><?= _($s['l']) ?></span>
<span class="small fw-bold text-muted"><?= _($s['l']) ?></span>
</div>
<div class="mb-2">
<label class="text-dark" style="font-size: 0.65rem; text-uppercase; font-weight: 700;"><?= _("Email Service") ?></label>
<label class="text-muted" style="font-size: 0.65rem; text-uppercase; font-weight: 700;"><?= _("Email Service") ?></label>
<div class="small text-truncate text-primary"><?= $this->nettoyer($societeuser[$s['v']]) ?></div>
</div>
<?php if($s['sms']): ?>
<div>
<label class="text-dark" style="font-size: 0.65rem; text-uppercase; font-weight: 700;"><?= _("SMS Alertes") ?></label>
<div class="small text-dark fw-medium"><?= $this->nettoyer($societeuser[$s['sms']]) ?></div>
<label class="text-muted" style="font-size: 0.65rem; text-uppercase; font-weight: 700;"><?= _("SMS Alertes") ?></label>
<div class="small text-muted fw-medium"><?= $this->nettoyer($societeuser[$s['sms']]) ?></div>
</div>
<?php endif; ?>
</div>
@ -160,11 +160,11 @@
<i class="fas fa-chart-line"></i>
</div>
<div class="flex-grow-1">
<label class="form-label small text-dark mb-0"><?= _("Alerte Consommation") ?></label>
<label class="form-label small text-muted mb-0"><?= _("Alerte Consommation") ?></label>
<div class="d-flex align-items-center mt-1">
<span class="h4 mb-0 fw-bold text-dark"><?= $this->nettoyer($societeuser['alertLimiteConsommation']) ?></span>
<span class="ms-1 text-dark fw-bold">%</span>
<div class="ms-3 small text-dark text-truncate" style="max-width: 150px;" title="<?= $this->nettoyer($societeuser['emailAlertLimiteConsommation']) ?>">
<span class="h4 mb-0 fw-bold text-muted"><?= $this->nettoyer($societeuser['alertLimiteConsommation']) ?></span>
<span class="ms-1 text-muted fw-bold">%</span>
<div class="ms-3 small text-muted text-truncate" style="max-width: 150px;" title="<?= $this->nettoyer($societeuser['emailAlertLimiteConsommation']) ?>">
<i class="fas fa-paper-plane me-1"></i><?= $this->nettoyer($societeuser['emailAlertLimiteConsommation']) ?>
</div>
</div>
@ -178,7 +178,7 @@
<i class="fas fa-shield-alt"></i>
</div>
<div>
<label class="form-label small text-dark mb-0"><?= _("Taux Alerte S/P Max") ?></label>
<label class="form-label small text-muted mb-0"><?= _("Taux Alerte S/P Max") ?></label>
<div class="h4 mb-0 fw-bold text-danger"><?= $this->nettoyer($societeuser['spMax']) ?> <small class="fs-6">%</small></div>
</div>
</div>
@ -190,14 +190,14 @@
<i class="fas fa-credit-card"></i>
</div>
<div>
<label class="form-label small text-dark mb-0"><?= _("Tarif Carte AFN") ?></label>
<div class="h4 mb-0 fw-bold text-dark"><?= format_N($this->nettoyer($societeuser['fraisCarteAN'])) ?> <small class="fs-6 fw-normal text-dark">FCFA</small></div>
<label class="form-label small text-muted mb-0"><?= _("Tarif Carte AFN") ?></label>
<div class="h4 mb-0 fw-bold text-muted"><?= format_N($this->nettoyer($societeuser['fraisCarteAN'])) ?> <small class="fs-6 fw-normal text-muted">FCFA</small></div>
</div>
</div>
</div>
<div class="col-md-2">
<label class="form-label small text-dark mb-1"><?= _("Logs Visites") ?></label>
<label class="form-label small text-muted mb-1"><?= _("Logs Visites") ?></label>
<?php
$logStatus = $this->nettoyer($societeuser['activerLogVisitePages']);
$badgeClass = ($logStatus == 'OUI' || $logStatus == '1') ? 'bg-success' : 'bg-secondary';