[fix]: update title
This commit is contained in:
parent
892ba5b6d4
commit
67d501d8bd
File diff suppressed because one or more lines are too long
@ -101,6 +101,7 @@ window.addEventListener("DOMContentLoaded", function () {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
$('#saveRapportBijouxModal').hide();
|
$('#saveRapportBijouxModal').hide();
|
||||||
|
modalTitle.text('Générer le rapport des bijoux')
|
||||||
modalElement.data('export-type', 'rapport-bijoux')
|
modalElement.data('export-type', 'rapport-bijoux')
|
||||||
modalElement.data('export-with-photos', selectedValue)
|
modalElement.data('export-with-photos', selectedValue)
|
||||||
modalElement.modal('show')
|
modalElement.modal('show')
|
||||||
@ -127,6 +128,7 @@ window.addEventListener("DOMContentLoaded", function () {
|
|||||||
})
|
})
|
||||||
|
|
||||||
const modalElement = $('#confirmSendEmailModal')
|
const modalElement = $('#confirmSendEmailModal')
|
||||||
|
const modalTitle = $('#titleSendEmailModal')
|
||||||
const _ = new Modal(modalElement[0],{
|
const _ = new Modal(modalElement[0],{
|
||||||
backdrop: false
|
backdrop: false
|
||||||
})
|
})
|
||||||
@ -169,11 +171,13 @@ window.addEventListener("DOMContentLoaded", function () {
|
|||||||
})
|
})
|
||||||
|
|
||||||
exportCareCertificateButton.addEventListener("click",function(){
|
exportCareCertificateButton.addEventListener("click",function(){
|
||||||
|
modalTitle.text("Générer l'attestation de soins")
|
||||||
modalElement.data('export-type', 'care-certificate')
|
modalElement.data('export-type', 'care-certificate')
|
||||||
modalElement.modal('show')
|
modalElement.modal('show')
|
||||||
// exportCareCertificate({defuntId : defuntid});
|
// exportCareCertificate({defuntId : defuntid});
|
||||||
})
|
})
|
||||||
pacemakerBtn.addEventListener("click", function(){
|
pacemakerBtn.addEventListener("click", function(){
|
||||||
|
modalTitle.text("Générer l'attestation pacemaker")
|
||||||
modalElement.data('export-type', 'pacemaker')
|
modalElement.data('export-type', 'pacemaker')
|
||||||
modalElement.modal('show')
|
modalElement.modal('show')
|
||||||
// saveAttestationPacemaker({ defuntId: defuntid });
|
// saveAttestationPacemaker({ defuntId: defuntid });
|
||||||
@ -182,6 +186,7 @@ window.addEventListener("DOMContentLoaded", function () {
|
|||||||
rapportSoinBtn.addEventListener("click", function(){
|
rapportSoinBtn.addEventListener("click", function(){
|
||||||
modalElement.data('export-type', 'rapport-soin')
|
modalElement.data('export-type', 'rapport-soin')
|
||||||
modalElement.modal('show')
|
modalElement.modal('show')
|
||||||
|
modalTitle.text('Générer le rapport de soins')
|
||||||
// saveRapportSoin({ numdefunt: defuntid });
|
// saveRapportSoin({ numdefunt: defuntid });
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@ -527,7 +527,7 @@ $coverProducts = $_['coverProducts'];
|
|||||||
<div class="modal-dialog">
|
<div class="modal-dialog">
|
||||||
<div class="modal-content">
|
<div class="modal-content">
|
||||||
<div class="modal-header">
|
<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>
|
||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
<div class="form-group form-check d-flex justify-items-start align-items-center ">
|
<div class="form-group form-check d-flex justify-items-start align-items-center ">
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user