de
This commit is contained in:
parent
ea87447e19
commit
9408548635
|
|
@ -34,6 +34,7 @@
|
|||
$isFacture = ($avenant['facture'] == '1');
|
||||
$isRH = ($avenant['ajoutClient'] == '1');
|
||||
$idAvenant = $avenant['idAvenant'];
|
||||
$isNotify = ($avenant['notificationRhEnvoye']== '1');
|
||||
?>
|
||||
<tr>
|
||||
<td class="text-center fw-bold ps-3 text-secondary">
|
||||
|
|
@ -73,11 +74,19 @@
|
|||
|
||||
<td class="text-center">
|
||||
<?php if($isRH): ?>
|
||||
<button type="button"
|
||||
class="btn btn-sm btn-outline-primary fw-bold shadow-sm px-3"
|
||||
onclick="envoyer_notification_avenant('<?= $idAvenant ?>')">
|
||||
<i class="fas fa-bell me-1"></i> <?= _("Notifier") ?>
|
||||
</button>
|
||||
<?php if($isRH): ?>
|
||||
<button type="button"
|
||||
class="btn btn-sm btn-outline-warning fw-bold shadow-sm px-3"
|
||||
onclick="envoyer_notification_avenant('<?= $idAvenant ?>')">
|
||||
<i class="fas fa-bell me-1"></i> <?= _("Déja Notifier") ?>
|
||||
</button>
|
||||
<?php else: ?>
|
||||
<button type="button"
|
||||
class="btn btn-sm btn-outline-primary fw-bold shadow-sm px-3"
|
||||
onclick="envoyer_notification_avenant('<?= $idAvenant ?>')">
|
||||
<i class="fas fa-bell me-1"></i> <?= _("Notifier") ?>
|
||||
</button>
|
||||
<?php endif; ?>
|
||||
<?php else: ?>
|
||||
<span class="text-muted opacity-50 small">-</span>
|
||||
<?php endif; ?>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user