|
@@ -1,4 +1,5 @@
|
|
|
|
|
|
|
|
+if (!URL_TABLE_POWIAZANIA) throw "Brak URL_TABLE_POWIAZANIA";
|
|
if (!BASE_URLS) {
|
|
if (!BASE_URLS) {
|
|
throw "Brak BASE_URLS"
|
|
throw "Brak BASE_URLS"
|
|
}
|
|
}
|
|
@@ -291,7 +292,7 @@ function generateBiAuditRaport(event) {
|
|
|
|
|
|
p5UI__notifyAjaxCallback(result);
|
|
p5UI__notifyAjaxCallback(result);
|
|
defaultBIAuditLocalStorage();
|
|
defaultBIAuditLocalStorage();
|
|
- window.setTimeout(window.location.href = "/SE/index.php?_route=ViewTableAjax&namespace=default_db/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA", 6000);
|
|
|
|
|
|
+ window.setTimeout(URL_TABLE_POWIAZANIA, 6000);
|
|
resolve(result.msg);
|
|
resolve(result.msg);
|
|
|
|
|
|
} else {
|
|
} else {
|
|
@@ -687,7 +688,7 @@ function getNameGroupById(store, filterIdGroup) {
|
|
|
|
|
|
function urlFetchKontrahenci(page) {
|
|
function urlFetchKontrahenci(page) {
|
|
var page = page || getItemLocalStorage('Bocian.biAuditForm.kontrahenci.pagination.page');
|
|
var page = page || getItemLocalStorage('Bocian.biAuditForm.kontrahenci.pagination.page');
|
|
-
|
|
|
|
|
|
+
|
|
selectPage('KONTRAHENCI', page);
|
|
selectPage('KONTRAHENCI', page);
|
|
|
|
|
|
if ( page === 1) {
|
|
if ( page === 1) {
|
|
@@ -695,7 +696,7 @@ function urlFetchKontrahenci(page) {
|
|
}
|
|
}
|
|
|
|
|
|
var filterIdGroup = getItemLocalStorage('Bocian.biAuditForm.kontrahenci.filterIdGroup');
|
|
var filterIdGroup = getItemLocalStorage('Bocian.biAuditForm.kontrahenci.filterIdGroup');
|
|
-
|
|
|
|
|
|
+
|
|
fetch(URL_FETCH_KONTRAHENCI + '&page=' + page + '&filterIdGroup=' + filterIdGroup, {
|
|
fetch(URL_FETCH_KONTRAHENCI + '&page=' + page + '&filterIdGroup=' + filterIdGroup, {
|
|
credentials: 'same-origin'
|
|
credentials: 'same-origin'
|
|
})
|
|
})
|
|
@@ -1150,7 +1151,7 @@ function detectChoiseFilter() {
|
|
// aktaulna wartość zagłebienia
|
|
// aktaulna wartość zagłebienia
|
|
var currentDepthValue = getItemLocalStorage('Bocian.biAuditForm.depth');
|
|
var currentDepthValue = getItemLocalStorage('Bocian.biAuditForm.depth');
|
|
//reset LocalStorage
|
|
//reset LocalStorage
|
|
- defaultBIAuditLocalStorage();
|
|
|
|
|
|
+ // defaultBIAuditLocalStorage();
|
|
// ustawienie ostaniej wartości zagłebienia przed resete
|
|
// ustawienie ostaniej wartości zagłebienia przed resete
|
|
setItemLocalStorage('Bocian.biAuditForm.depth', currentDepthValue);
|
|
setItemLocalStorage('Bocian.biAuditForm.depth', currentDepthValue);
|
|
|
|
|
|
@@ -1170,7 +1171,7 @@ function detectChoiseFilter() {
|
|
// aktaulna wartość zagłebienia
|
|
// aktaulna wartość zagłebienia
|
|
var currentDepthValue = getItemLocalStorage('Bocian.biAuditForm.depth');
|
|
var currentDepthValue = getItemLocalStorage('Bocian.biAuditForm.depth');
|
|
//reset LocalStorage
|
|
//reset LocalStorage
|
|
- defaultBIAuditLocalStorage();
|
|
|
|
|
|
+ // defaultBIAuditLocalStorage();
|
|
// ustawienie ostaniej wartości zagłebienia przed resete
|
|
// ustawienie ostaniej wartości zagłebienia przed resete
|
|
setItemLocalStorage('Bocian.biAuditForm.depth', currentDepthValue);
|
|
setItemLocalStorage('Bocian.biAuditForm.depth', currentDepthValue);
|
|
|
|
|