74 lines
4.0 KiB
PHP
Executable File
74 lines
4.0 KiB
PHP
Executable File
<div class="modal-dialog modal-dialog-centered">
|
|
<div class="modal-content border-0 shadow-lg">
|
|
<div class="modal-header bg-primary text-white border-0">
|
|
<h5 class="modal-title fw-bold text-uppercase small">
|
|
<i class="fas fa-copy me-2"></i><?= _("Dupliquer le réseau de soins") ?>
|
|
</h5>
|
|
<button type="button" class="btn p-2 border-0 shadow-none d-flex align-items-center justify-content-center"
|
|
data-bs-dismiss="modal" aria-label="Close"
|
|
style="background: transparent; transition: transform 0.2s ease;">
|
|
<i class="fas fa-times text-white fs-4"></i>
|
|
</button>
|
|
</div>
|
|
|
|
<div class="modal-body p-4">
|
|
<div class="card border-0 bg-light mb-4">
|
|
<div class="card-body p-3">
|
|
<h6 class="text-success fw-bold text-uppercase small mb-3 border-bottom pb-2">
|
|
<i class="fas fa-history me-2"></i><?= _("Réseau source (À dupliquer)") ?>
|
|
</h6>
|
|
<div class="row g-2">
|
|
<div class="col-md-4">
|
|
<label class="form-label smaller text-muted fw-bold">Code</label>
|
|
<input type="text" id="codeold" name="codeold"
|
|
value="<?= $this->nettoyer($reseausoins['codeReseau']) ?>"
|
|
class="form-control form-control-sm border-0 bg-white fw-bold" readonly>
|
|
</div>
|
|
<div class="col-md-8">
|
|
<label class="form-label smaller text-muted fw-bold"><?= _("Libellé actuel") ?></label>
|
|
<input type="text" id="libelleold" name="libelleold"
|
|
value="<?= $this->nettoyer($reseausoins['libelle']) ?>"
|
|
class="form-control form-control-sm border-0 bg-white fw-bold" readonly>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="card border-primary-ghost shadow-sm">
|
|
<div class="card-body p-3">
|
|
<h6 class="text-primary fw-bold text-uppercase small mb-3 border-bottom pb-2">
|
|
<i class="fas fa-plus-circle me-2"></i><?= _("Nouveau réseau (Destination)") ?>
|
|
</h6>
|
|
<div class="mb-3">
|
|
<label class="form-label small fw-bold text-dark required"><?= _("Nom du nouveau réseau") ?></label>
|
|
<div class="input-group">
|
|
<span class="input-group-text bg-white border-2 border-end-0 text-primary">
|
|
<i class="fas fa-edit"></i>
|
|
</span>
|
|
<input type="text" id="libelle" name="libelle"
|
|
class="form-control border-2 border-start-0 shadow-none fw-bold majuscule"
|
|
placeholder="<?= _("Saisir le libellé...") ?>" required autofocus>
|
|
</div>
|
|
</div>
|
|
|
|
<button type="button" id="btn-dupliquer-reseau"
|
|
class="btn btn-primary w-100 fw-bold py-2 shadow-sm rounded-pill mt-2"
|
|
onclick="duplicationreseausoins();">
|
|
<i class="fas fa-check-circle me-1"></i> <?= _("Valider la duplication") ?>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="modal-footer border-0 bg-light">
|
|
<button type="button" class="btn btn-link text-muted fw-bold text-decoration-none" data-bs-dismiss="modal">
|
|
<?= _("Annuler") ?>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<style>
|
|
.border-primary-ghost { border: 2px dashed rgba(33, 46, 83, 0.2); }
|
|
.smaller { font-size: 0.75rem; }
|
|
</style>
|