51 lines
2.4 KiB
PHP
Executable File
51 lines
2.4 KiB
PHP
Executable File
<?php
|
|
$superUser = $_SESSION['superUser'];
|
|
?>
|
|
|
|
<div class="page-content animate__animated animate__fadeIn">
|
|
|
|
<div class="header-section mb-4">
|
|
<div class="d-flex align-items-center justify-content-between bg-white p-3 shadow-sm border-start border-primary border-4" style="border-radius: var(--radius-md);">
|
|
<div class="d-flex align-items-center">
|
|
<div class="icon-shape bg-primary-ghost text-primary rounded-circle me-3" style="width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;">
|
|
<i class="fas fa-box-open fs-4"></i>
|
|
</div>
|
|
<div>
|
|
<h4 id="titre-page" class="mb-0 fw-bold text-uppercase"><?= _("Gestion Produits Santé") ?></h4>
|
|
<p class="text-muted small mb-0"><?= _("Catalogue des produits par garant") ?></p>
|
|
</div>
|
|
</div>
|
|
<button class="btn btn-primary rounded-pill px-4 fw-bold shadow-sm btn-sm" onclick="nouveau_produit();">
|
|
<i class="fas fa-plus me-1"></i> <?= _("Nouveau Produit") ?>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
|
|
<input type="hidden" id="nomForm" name="nomForm" value="frmproduit">
|
|
|
|
<div class="card border-0 shadow-sm mb-4">
|
|
<div class="card-body p-3 bg-primary-ghost-light">
|
|
<div class="row align-items-center g-3">
|
|
<div class="col-md-1 text-md-end">
|
|
<label class="form-label mb-md-0 fw-bold text-uppercase small text-primary"><?= _("Garant") ?></label>
|
|
</div>
|
|
<div class="col-md-11">
|
|
<div class="input-group">
|
|
<span class="input-group-text bg-white border-end-0"><i class="fas fa-shield-alt text-primary"></i></span>
|
|
<select class="form-control selectpicker border-start-0 w-100" data-live-search="true" id="codeGcAssureur" name="codeGcAssureur" onchange="filtretabproduit();" autofocus>
|
|
<?php liste_options($garant, $_SESSION['garant']); ?>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="div_tab_produit">
|
|
<?php require 'Vue/Ajaxfiltretabproduit/index.php'; ?>
|
|
</div>
|
|
</div>
|
|
|
|
<style>
|
|
.bg-primary-ghost-light { background-color: rgba(33, 46, 83, 0.02) !important; }
|
|
</style>
|