[fix]: update title

This commit is contained in:
Tsiresy Milà 2025-03-11 16:46:23 +03:00
parent 892ba5b6d4
commit 67d501d8bd
3 changed files with 7 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -101,6 +101,7 @@ window.addEventListener("DOMContentLoaded", function () {
}
}
$('#saveRapportBijouxModal').hide();
modalTitle.text('Générer le rapport des bijoux')
modalElement.data('export-type', 'rapport-bijoux')
modalElement.data('export-with-photos', selectedValue)
modalElement.modal('show')
@ -127,6 +128,7 @@ window.addEventListener("DOMContentLoaded", function () {
})
const modalElement = $('#confirmSendEmailModal')
const modalTitle = $('#titleSendEmailModal')
const _ = new Modal(modalElement[0],{
backdrop: false
})
@ -169,11 +171,13 @@ window.addEventListener("DOMContentLoaded", function () {
})
exportCareCertificateButton.addEventListener("click",function(){
modalTitle.text("Générer l'attestation de soins")
modalElement.data('export-type', 'care-certificate')
modalElement.modal('show')
// exportCareCertificate({defuntId : defuntid});
})
pacemakerBtn.addEventListener("click", function(){
modalTitle.text("Générer l'attestation pacemaker")
modalElement.data('export-type', 'pacemaker')
modalElement.modal('show')
// saveAttestationPacemaker({ defuntId: defuntid });
@ -182,6 +186,7 @@ window.addEventListener("DOMContentLoaded", function () {
rapportSoinBtn.addEventListener("click", function(){
modalElement.data('export-type', 'rapport-soin')
modalElement.modal('show')
modalTitle.text('Générer le rapport de soins')
// saveRapportSoin({ numdefunt: defuntid });
});

View File

@ -527,7 +527,7 @@ $coverProducts = $_['coverProducts'];
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">Confirmation de l'envoi par email</h5>
<h5 class="modal-title" id="titleSendEmailModal">Confirmation de l'envoi par email</h5>
</div>
<div class="modal-body">
<div class="form-group form-check d-flex justify-items-start align-items-center ">