First commit
This commit is contained in:
parent
cf97b64877
commit
cc69770608
1468 changed files with 265316 additions and 128 deletions
97
www/admin/cups/_js/miser-cupSolidale.js
Normal file
97
www/admin/cups/_js/miser-cupSolidale.js
Normal file
|
|
@ -0,0 +1,97 @@
|
|||
//cup solidale
|
||||
|
||||
function esportaPrestazioni() {
|
||||
Swal.fire({
|
||||
title: "Esporta Prestazioni Cup Solidale",
|
||||
text: "Verranno esportate le Prestazioni verso il cup solidale. Sei Sicuro?",
|
||||
icon: "warning",
|
||||
showDenyButton: true,
|
||||
showCancelButton: false,
|
||||
confirmButtonText: `Si`,
|
||||
denyButtonText: `No`,
|
||||
cancelButtonText: `Annulla`,
|
||||
}).then((result) => {
|
||||
/* Read more about isConfirmed, isDenied below */
|
||||
if (result.isConfirmed) {
|
||||
////////////////////////////////////////////////////////////////////
|
||||
$("#main").attr("action", $("#actionPage").val());
|
||||
//$("#flgReport").val("S");
|
||||
$("#cmd", "#main").val("esportaPrestazioni");
|
||||
$("#act", "#main").val("");
|
||||
$("#cmd2").val("");
|
||||
|
||||
//$("#pageNumber").val("1");
|
||||
Ab.submitAj('main');
|
||||
////////////////////////////////////////////////////////////////////
|
||||
} else if (result.isDenied) {
|
||||
//Swal.fire('Changes are not saved', '', 'info')
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
function esportaMedici() {
|
||||
Swal.fire({
|
||||
title: "Esporta Medici Cup Solidale",
|
||||
text: "Verranno esportate i Medici verso il cup solidale. Sei Sicuro?",
|
||||
icon: "warning",
|
||||
showDenyButton: true,
|
||||
showCancelButton: false,
|
||||
confirmButtonText: `Si`,
|
||||
denyButtonText: `No`,
|
||||
cancelButtonText: `Annulla`,
|
||||
}).then((result) => {
|
||||
/* Read more about isConfirmed, isDenied below */
|
||||
if (result.isConfirmed) {
|
||||
////////////////////////////////////////////////////////////////////
|
||||
$("#main").attr("action", $("#actionPage").val());
|
||||
//$("#flgReport").val("S");
|
||||
$("#cmd", "#main").val("esportaMedici");
|
||||
$("#act", "#main").val("");
|
||||
$("#cmd2").val("");
|
||||
|
||||
//$("#pageNumber").val("1");
|
||||
Ab.submitAj('main');
|
||||
////////////////////////////////////////////////////////////////////
|
||||
} else if (result.isDenied) {
|
||||
//Swal.fire('Changes are not saved', '', 'info')
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
function esportaAgende() {
|
||||
Swal.fire({
|
||||
title: "Esporta Agende Cup Solidale",
|
||||
text: "Verranno esportate le Agende verso il cup solidale. Sei Sicuro?",
|
||||
icon: "warning",
|
||||
showDenyButton: true,
|
||||
showCancelButton: false,
|
||||
confirmButtonText: `Si`,
|
||||
denyButtonText: `No`,
|
||||
cancelButtonText: `Annulla`,
|
||||
}).then((result) => {
|
||||
/* Read more about isConfirmed, isDenied below */
|
||||
if (result.isConfirmed) {
|
||||
////////////////////////////////////////////////////////////////////
|
||||
$("#main").attr("action", $("#actionPage").val());
|
||||
//$("#flgReport").val("S");
|
||||
$("#cmd", "#main").val("esportaAgende");
|
||||
$("#act", "#main").val("");
|
||||
$("#cmd2").val("");
|
||||
|
||||
//$("#pageNumber").val("1");
|
||||
Ab.submitAj('main');
|
||||
////////////////////////////////////////////////////////////////////
|
||||
} else if (result.isDenied) {
|
||||
//Swal.fire('Changes are not saved', '', 'info')
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue