97 lines
2.8 KiB
JavaScript
97 lines
2.8 KiB
JavaScript
//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')
|
|
}
|
|
})
|
|
|
|
|
|
}
|
|
|