First commit
This commit is contained in:
parent
cf97b64877
commit
cc69770608
1468 changed files with 265316 additions and 128 deletions
93
www/admin/ebay/_js/acxent-ebayLogin.js
Normal file
93
www/admin/ebay/_js/acxent-ebayLogin.js
Normal file
|
|
@ -0,0 +1,93 @@
|
|||
/**************************************************/
|
||||
/**************************************************/
|
||||
/* popup login ebay*/
|
||||
/**************************************************/
|
||||
/**************************************************/
|
||||
function popupLoginEbay() {
|
||||
theAction = webApp + "/admin/ebay/EbayAccess.abl?cmd=callEbayLogin";
|
||||
wEbay = window.open(theAction, "Ebay_Logine", "width=930,height=600,status=yes,resizable=yes,top=100,left=100,scrollbars=yes");
|
||||
wEbay.focus();
|
||||
|
||||
|
||||
}
|
||||
|
||||
function callEbayLogin() {
|
||||
|
||||
Swal.fire({
|
||||
title: "Login Ebay AuthNAuth",
|
||||
text: "Se premi OK verrai indirizzato sul login ebay. Effettua il login con le tue credenziali e conferma di fornire l'accesso della applicazione Ablia ai tuoi dati su Ebay.\nVuoi Continuare?",
|
||||
icon: "warning",
|
||||
showDenyButton: true,
|
||||
showCancelButton: false,
|
||||
confirmButtonText: `Si`,
|
||||
denyButtonText: `No`,
|
||||
cancelButtonText: `Annulla`,
|
||||
}).then((result) => {
|
||||
/* Read more about isConfirmed, isDenied below */
|
||||
if (result.isConfirmed) {
|
||||
////////////////////////////////////////////////////////////////////
|
||||
$("#callEbayBtn").attr("disabled", "disabled");
|
||||
$("#callEbayBtn").attr("href", "#");
|
||||
$("body").addClass("loading");
|
||||
var f = document.menu;
|
||||
f.action = "../ebay/EbayAccess.abl";
|
||||
f.cmd.value = "callEbayLogin";
|
||||
f.act.value = "";
|
||||
f.submit();
|
||||
////////////////////////////////////////////////////////////////////
|
||||
} else if (result.isDenied) {
|
||||
//Swal.fire('Changes are not saved', '', 'info')
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
//Ab.submitAj("menu");
|
||||
}
|
||||
|
||||
|
||||
function callEbayLoginOAuth() {
|
||||
Swal.fire({
|
||||
title: "Login Ebay oAuth2",
|
||||
text: "Se premi OK verrai indirizzato sul login ebay. Effettua il login con le tue credenziali e conferma di fornire l'accesso della applicazione Ablia ai tuoi dati su Ebay.\nVuoi Continuare?",
|
||||
icon: "warning",
|
||||
showDenyButton: true,
|
||||
showCancelButton: false,
|
||||
confirmButtonText: `Si`,
|
||||
denyButtonText: `No`,
|
||||
cancelButtonText: `Annulla`,
|
||||
}).then((result) => {
|
||||
/* Read more about isConfirmed, isDenied below */
|
||||
if (result.isConfirmed) {
|
||||
////////////////////////////////////////////////////////////////////
|
||||
$("#callEbayBtn").attr("disabled", "disabled");
|
||||
$("#callEbayBtn").attr("href", "#");
|
||||
$("body").addClass("loading");
|
||||
var f = document.menu;
|
||||
f.action = "../ebay/EbayAccess.abl";
|
||||
f.cmd.value = "callEbayLoginO";
|
||||
f.act.value = "";
|
||||
f.submit();
|
||||
////////////////////////////////////////////////////////////////////
|
||||
} else if (result.isDenied) {
|
||||
//Swal.fire('Changes are not saved', '', 'info')
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
//Ab.submitAj("menu");
|
||||
}
|
||||
|
||||
|
||||
function closeEbayWindow() {
|
||||
|
||||
// self.opener.document[nomeModulo][nomeCampo].select();
|
||||
setTimeout(function () {
|
||||
{
|
||||
//Ab.setFocus("dataFatturazione");
|
||||
window.close();
|
||||
}
|
||||
|
||||
}, 5000);
|
||||
|
||||
|
||||
}
|
||||
17
www/admin/ebay/_js/acxent-ebayOrder.js
Normal file
17
www/admin/ebay/_js/acxent-ebayOrder.js
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
|
||||
/**************************************************/
|
||||
/**************************************************/
|
||||
/* refreesh ordini ebay*/
|
||||
/**************************************************/
|
||||
/**************************************************/
|
||||
function ordiniEbayCR(){
|
||||
var f = document.main;
|
||||
f.action = f.actionPage.value;
|
||||
f.flgReport.value = "S";
|
||||
//f.action=webApp+"/tr/Pratica.abl";
|
||||
f.cmd.value = "search";
|
||||
Ab.submitAj('main');
|
||||
|
||||
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue