dr
This commit is contained in:
parent
45a51aac62
commit
de90cef639
|
|
@ -45,7 +45,7 @@
|
|||
<td>
|
||||
<div class="fw-bold"><?= $libelleProduit ?></div>
|
||||
<?php if($isArchive): ?>
|
||||
<span class="badge bg-danger-light text-danger" style="font-size: 7pt;"><?= _("ARCHIVÉ") ?></span>
|
||||
<span class="badge bg-danger-light text-danger text-uppercase" style="font-size: 7pt;"><?= _("Archivé") ?></span>
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
<td class="text-center">
|
||||
|
|
@ -55,21 +55,21 @@
|
|||
<td class="text-center">
|
||||
<div class="btn-group shadow-xs rounded-pill bg-white border p-1">
|
||||
<?php if($isArchive): ?>
|
||||
<button class="btn btn-link btn-sm text-info p-1 mx-2 action-icon" title="<?= _("Consulter") ?>" onclick="consulter_produit(<?= $idProduit ?>);">
|
||||
<i class="fas fa-search"></i>
|
||||
<button class="btn btn-link btn-sm text-info p-1 me-2 action-icon" title="<?= _("Consulter") ?>" onclick="consulter_produit(<?= $idProduit ?>);">
|
||||
<i class="fas fa-search"></i><span><?= _("Consulter") ?></span>
|
||||
</button>
|
||||
<?php if ($superUser == "1"): ?>
|
||||
<button class="btn btn-link btn-sm text-danger p-1 mx-2 action-icon" title="<?= _("Désarchiver") ?>" onclick="de_archiver_produit('<?= $idProduit ?>', '<?= $dansBareme ?>');">
|
||||
<i class="fas fa-box-open"></i>
|
||||
<i class="fas fa-box-open"></i><span><?= _("Désarchiver") ?></span>
|
||||
</button>
|
||||
<?php endif; ?>
|
||||
<?php else: ?>
|
||||
<button class="btn btn-link btn-sm text-warning p-1 mx-2 action-icon" title="<?= _("Modifier") ?>" onclick="modifier_produit(<?= $idProduit ?>);">
|
||||
<i class="fas fa-edit"></i>
|
||||
<i class="fas fa-edit"></i><span><?= _("Modifier") ?></span>
|
||||
</button>
|
||||
<?php if($aGarantie == '1'): ?>
|
||||
<button class="btn btn-link btn-sm text-primary p-1 mx-2 action-icon" title="<?= _("Archiver") ?>" onclick="archiver_produit('<?= $idProduit ?>');">
|
||||
<i class="fas fa-archive"></i>
|
||||
<i class="fas fa-archive"></i><span><?= _("Archiver") ?></span>
|
||||
</button>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
|
|
@ -78,8 +78,8 @@
|
|||
|
||||
<td class="text-center">
|
||||
<?php if($isArchive): ?>
|
||||
<button class="btn btn-info btn-sm rounded-pill shadow-xs w-100" style="font-size: 8pt;" onclick="garanties_produit(<?= $idProduit ?>);">
|
||||
<i class="fas fa-list-check me-1"></i> <?= _("Consulter") ?>
|
||||
<button class="btn btn-success btn-sm rounded-pill shadow-xs w-100" style="font-size: 8pt;" onclick="garanties_produit(<?= $idProduit ?>);">
|
||||
<i class="fas fa-list-check me-1"></i> <?= _("Voir") ?>
|
||||
</button>
|
||||
<?php else: ?>
|
||||
<button class="btn btn-warning btn-sm rounded-pill shadow-xs w-100" style="font-size: 8pt;" onclick="garanties_produit(<?= $idProduit ?>);">
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user