|
@@ -442,10 +442,18 @@ function generateBiAuditRaport(event) {
|
|
|
$('#count-selected-item-kontrahenci').text('0');
|
|
|
$('#count-selected-item-pracownicy').text('0');
|
|
|
$('.bottom--message-warning-critical-search').text('');
|
|
|
+ swal({
|
|
|
+ title: result.msg,
|
|
|
+ html: '<a href="https://bravecom.yellowgroup.pl/SE/index.php?_route=ViewTableAjax&namespace=default_db/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA" title="przejdź do raportów" >Przejdź do raportów</a>',
|
|
|
+ allowOutsideClick: false, // TODO: btn Anuluj na dole?
|
|
|
+ showCloseButton: true,
|
|
|
+ confirmButtonText: 'OK',
|
|
|
+ });
|
|
|
|
|
|
window.setTimeout(URL_TABLE_POWIAZANIA, 6000);
|
|
|
resolve(result.msg);
|
|
|
|
|
|
+
|
|
|
} else {
|
|
|
reject(result.msg);
|
|
|
}
|
|
@@ -1169,7 +1177,7 @@ function removePracownikFromGroup(event){
|
|
|
},
|
|
|
allowOutsideClick: false
|
|
|
}).then((result) => {
|
|
|
-
|
|
|
+
|
|
|
});
|
|
|
|
|
|
}
|