KEMPER - Debrunner Acifer (2022)

  • Assortimento Assortimento
  • Sottostruttura e impiantistica Sottostruttura e impiantistica
  • Impiantistica Impiantistica
  • Rubinetteria grezza e cromata Rubinetteria grezza e cromata
  • Rubinetteria grezza Rubinetteria grezza
  • KEMPER KEMPER

KEMPER-Debrunner Acifer (1)KEMPER-Debrunner Acifer (2)

JRG Gunzenhauser

Nyffenegger

KEMPER

TRIGRESS

Honeywell

Raric

Addolcitori di acqua

Trattamento acqua JUDO

JRG Gunzenhauser Nyffenegger KEMPER TRIGRESS Honeywell Raric Addolcitori di acqua Trattamento acqua JUDO

'+ iconsHtml + '';$('.orderlist-list').append(orderlisthtml);// preselect newly generated orderlist$('#new-orderlist-id').val(id);// reset fancybox/lightbox/popup$('#addOrderlist .content .first').show();$('#addOrderlist .content .second').hide();$('#addOrderlist .add-orderlist-footer .dialog-button-container-right').html('');$.fancybox.close();loadOrderlistIntoContainer();});}function createOrderlist() {// show/hide before load$('#addOrderlist .content .first').show();$('#addOrderlist .content .second').hide();$('#addOrderlist .add-orderlist-footer .dialog-button-container-right').html('');// open the fancybox/lightbox/popup$.fancybox({href: '#addOrderlist',padding : 0,transitionIn: 'elastic',transitionOut: 'elastic',wrapCSS : 'layout-da dialog-orderlist-add',width : 720,height : 'auto',autoSize : false,closeBtn : false,autoDimensions : true,afterShow: function(){jQuery(".fancybox-inner").css('overflow-x', 'hidden');}});}function setActiveOrderlist(orderlistID, reload, redirectToOrderlist) {if(reload === undefined) reload = 1;if(redirectToOrderlist === undefined) redirectToOrderlist = 0;activeOrderlist = orderlistID;var myURL = 'modules/orderlist/orderlist_add.cfm';$.ajax({cache: false,type: 'POST',url: myURL,data: {"cfId": "12472930","cfToken": "e1bf2ae0fac728d-04C0E5BB-F1FA-D02A-07A44AD70F182DD7","csrfToken": '8EB5D1AE9DDDAAF628FDB4EAEB030A2FD6E7AA38',"orderlistID": orderlistID,"isActive": 1,"sort": 0},}).done(function(data) {$('.orderlist-name').removeClass('active');$('#orderlist-' + orderlistID).addClass('active');var currTitle = $.trim($('#orderlist-' + orderlistID).text());// update title name$('#orderlist-title-container span.bold').text(currTitle);$('#orderlist-title-container span.itemnum').text('');// set id in hidden fieldvar idField = $('#active-orderlist-id');if(idField.length > 0){idField.val(orderlistID);}// reset order cookieif(typeof eraseCookie === 'function'){eraseCookie('orderlist-order');}// update product listif(reload) {showProducts(1, true);}if(redirectToOrderlist === 1){document.location.href = '/orderlist.cfm'}});}

';jQuery('#dialog-button-container').html(htmlButtons);jQuery(".fancybox-inner").css('overflow-x', 'hidden'); },helpers : {overlay : {closeClick: false} // prevents closing when clicking OUTSIDE fancybox} }); $("#goToMyArt").html('1'); }function openpreise(DetailID, sp_Art_Nr){// Preisinfo im Stil von// URL/xprs83.pr_info?Knd_nr|Art_nr|Dim_nr|Lagerort|Objekt_nr|Session// Die Variablen sind Knd_nr,Art_nr,Dim_nr,Lagerort,Objekt_nr,SessionID// Knd_nr wird anhand der Session-Variablen gesetzt und muss beim Aufruf nicht uebergeben werden// Art_nr wird muss immer uebergeben werden (als PreiseArtNr)// Dim_nr wird nie uebergeben sondern von der Prozedur gelesen// Lagerort wird von der Prozedur uebergeben// Objekt_nr kann uebergeben werden (als PreiseObjekt) wenn nicht, wird es aus den Sessionvariablen gelesen// Die SessionID wird von der Prozedur automatisch angefuegtvar oURL;var scrW = screen.availWidth;var scrH = screen.availHeight;var winW = 600;var winH = 700;var winT = 1;var winL = 1;var oPar;winL = (scrW / 2) - (winW / 2);winT = (scrH / 2) - (winH / 2);if (winL < 1){ winL = 1; }if (winT < 1){ winT = 1; }oPar = 'menubar=no,resizable,scrollbars,statusbar=no,toolbar=no,width='+winW+',height='+winH+',top='+winT+',left='+winL;// menge auslesenvar myQ1 = $("#bestellmenge_"+sp_Art_Nr).val();var myQ2 = $("#anzahl_"+sp_Art_Nr).val();var myZw = $("#laenge_"+sp_Art_Nr).val();var myZwInit = $("#laenge_"+sp_Art_Nr).attr('data-value');if (typeof myQ1 === "undefined" || $("#bestellmenge_"+sp_Art_Nr).length === 0) { var myQ1 = 0; }if (typeof myQ2 === "undefined" || $("#anzahl_"+sp_Art_Nr).length === 0) { var myQ2 = 0; }if (typeof myZw === "undefined" || $("#laenge_"+sp_Art_Nr).length === 0) {var myZw = 0;}else{myZw = myZw.trim();}if (typeof myZwInit === "undefined" || $("#laenge_"+sp_Art_Nr).length === 0) {var myZwInit = 0;}else{myZwInit = myZwInit.trim();}if(DetailID == 0){sp_Art_Nr = $.trim(sp_Art_Nr);var repArtNr = sp_Art_Nr.replace('_s', '');oURL='/modules/showpreise.cfm?PreiseArtNr='+repArtNr;// initialmengen und preis mitgebenvar price_field = $('#preisBrutto_'+sp_Art_Nr);var price_act = $.trim(price_field.html());if(price_field.find('i').length > 0){price_act = $.trim(price_field.find('i').html())}if(price_act.indexOf("/") !== -1){// cut price after slashprice_act = $.trim(price_act.substring(0, price_act.indexOf("/")));}var price_auf_anfrage = 0;if(price_field.hasClass('priceAufAnfrage')){price_auf_anfrage = 1;}// preiseinheit, divisorvar price_unit = $('#unit_'+sp_Art_Nr).html();var price_divisor = $('#divisor_'+sp_Art_Nr).html();var myFormOptions = $('#bestellen').serialize();if (myFormOptions != ''){ oURL+= '&'+myFormOptions; } // momentanen preis pro einheit mitgeben oURL += '&priceAct='+encodeURI(price_act) + '&einheitPreisGrid=' + price_unit + '&mengePreisGrid=' + price_divisor; oURL += '&isAufAnfrage=' + price_auf_anfrage;}else{// auf anfrage beruecksichtigen var price_field = $('#preisLink_'+DetailID);if(!price_field.length) price_field = $('#preisLink_'+DetailID+'_mobile'); var price_auf_anfrage = 0; if(price_field.length && price_field.hasClass('priceAufAnfrage')){ price_auf_anfrage = 1; } oURL='/modules/showpreise.cfm?DetailID='+DetailID+'&isAufAnfrage='+price_auf_anfrage;} // params nur anhaengen, falls noch nicht vorhanden if (!((myQ1 == "") || (isNaN(myQ1)) || (myQ1 == 0)) && oURL.indexOf("bestellmenge") == -1){ oURL += '&bestellmenge='+myQ1; } if (!((myQ2 == "") || (isNaN(myQ2)) || (myQ2 == 0)) && oURL.indexOf("anzahl") == -1){ oURL += '&anzahl='+myQ2; } if (!((myZw == "") || (isNaN(myZw)) || (myZw == 0)) && oURL.indexOf("zwischenmengemultiplikator") == -1){ // schnitt beruecksichtigen. lager oder fix! if(myZw != myZwInit){ oURL += '&zwischenmengemultiplikator='+myZw; oURL += '&schnitt=f'; } }$.fancybox({transitionIn: 'elastic',transitionOut: 'elastic',padding: 0, href: oURL, type: 'ajax',width : 720, height : 'auto', autoSize : false, closeBtn : false, autoDimensions : true,wrapCSS: 'dialog-product-price',afterShow: function(){jQuery(".fancybox-inner").css('overflow-x', 'hidden');} });}

KEMPER-Debrunner Acifer (3)

'; content += '

'; content += 'Si declina qualsiasi responsabilità per le informazioni fornite'; content += '

'; content += '

'; var quantity = value.Quantity; var userQuantity = data.Quantity; var unit = 1; // ueberpruefe welche einheit ausgewaehlt wurde if (data.Unit != '' && data.Unit == value.Unit2) { unit = 2; quantity = value.Quantity2; } // Menge immer auf ganz zahlen runden (Es gibt zb keine halben packete) quantity = Math.floor(quantity); if(value.CALCQuantity) { userQuantity = data.Quantity * value.CALCQuantity; // check for different calculated userquantity if(data.Zmm && data.Zmm > 0 && data.Zmm != value.Zmm && value.Zmm > 0){ userQuantity = data.Quantity * data.Zmm * value.Umrechnungsfaktor; } } if(value.IsZentrallager == 1 && (quantity > 0 || quantity > userQuantity)) { emptyZentral = 0; } else if(value.IsDefault == 1 && (quantity > 0 || quantity > userQuantity)) { emptyDefault = 0; if(quantity < userQuantity){ notAvailableDefault = true; } } // FODEV-13352: check if pickup is set an plant is same as selected if(central == 2 && selectedDeliveryPlant > 0 && value.Plant === selectedDeliveryPlant){ if(quantity >= userQuantity){ deliveryAvailable = true; } } // ueberpruefe ob die angegebene menge verfuegbar ist if(Number(quantity) > 0 && Number(userQuantity) <= Number(quantity)) { currPlantName = value.PlantName.replace('Debrunner Acifer AG, ', ''); currPlantName = currPlantName.replace('Zentrallager', 'Magazzino centrale'); content += '

'; content += ''; content += '

'; content += '' + currPlantName + ''; if(central == 2 && value.IsZentrallager == 1) { plantnotavailable ++; } } else { plantnotavailable ++; currPlantName = value.PlantName.replace('Debrunner Acifer AG, ', ''); currPlantName = currPlantName.replace('Zentrallager', 'Magazzino centrale'); content += '

'; content += ''; content += '

'; content += '' + currPlantName + ': '; // zeige anzahl der verfuegbaren nur an falls die selber eingebene menge zu gross ist zb verfuegbar 5 eingegeben 7 -> menge anzeigen if(unit == 1 ){ // falls zb packet 0 ist vom runden dann zeige stueck an if(quantity > 0) { var currText = Math.floor(value.Quantity) + ' ' + value.Unit; if(Math.floor(value.Quantity) <= 0){ currText = '{Nicht verfügbar}'; } content += currText; } else { var currText = Math.floor(value.Quantity2) + ' ' + value.Unit2; if(Math.floor(value.Quantity2) <= 0){ currText = '{Nicht verfügbar}'; } content += currText; } } else { if(quantity > 0) { var currText = Math.floor(value.Quantity2) + ' ' + value.Unit2; if(Math.floor(value.Quantity2) <= 0){ currText = '{Nicht verfügbar}'; } content += currText; } else { var currText = Math.floor(value.Quantity) + ' ' + value.Unit; if(Math.floor(value.Quantity) <= 0){ currText = '{Nicht verfügbar}'; } content += currText; } } } content += '

'; content += '

'; if(Number(value.IsDefault) === 1) { topcontent += content; } else { subcontent += content; } } }); // wenn keine Produkte verfuegbar sind if(plantcount === plantnotavailable) { availableDiv.removeClass("available"); availableDiv.addClass("unavailable"); } else { // FODEV-13352: on pickup, always check if available on selected plant if(central === 2 && !deliveryAvailable){ // display as not available availableDiv.removeClass("available"); availableDiv.addClass("unavailable"); }else{ if(emptyZentral && emptyDefault || emptyDefault && central === 2) { // BG (20201201): check, if at least the current quantity is available if(data.Gesamtmenge >= data.Quantity){ // it is available if total quantity is bigger than quantity }else { availableDiv.removeClass("available"); availableDiv.addClass("unavailable"); } } else { // im basket muss es im default werk verfuegbar sein, damit es als verfuegbar angezeigt wird if(centralObj.length && notAvailableDefault && central === 2){ availableDiv.removeClass("available"); availableDiv.addClass("unavailable"); }else{ availableDiv.removeClass("unavailable"); availableDiv.addClass("available"); } } } } content = '

'; content += '

'; content += 'Disponibilità'; content += '

'; if(topcontent != '') { content += '

'; content += 'La tua società '; content += '

'; content += topcontent; if(subcontent != '') { content += '

'; content += 'Altre società'; content += '

'; } } content += subcontent; content += '

'; content += '

'; content += 'Si declina qualsiasi responsabilità per le informazioni fornite'; content += '

'; content += '

'; return content;}function pad (str, max) { str = str.toString(); return str.length < max ? pad("0" + str, max) : str;}

You might also like

Latest Posts

Article information

Author: Reed Wilderman

Last Updated: 10/12/2022

Views: 6223

Rating: 4.1 / 5 (52 voted)

Reviews: 83% of readers found this page helpful

Author information

Name: Reed Wilderman

Birthday: 1992-06-14

Address: 998 Estell Village, Lake Oscarberg, SD 48713-6877

Phone: +21813267449721

Job: Technology Engineer

Hobby: Swimming, Do it yourself, Beekeeping, Lapidary, Cosplaying, Hiking, Graffiti

Introduction: My name is Reed Wilderman, I am a faithful, bright, lucky, adventurous, lively, rich, vast person who loves writing and wants to share my knowledge and understanding with you.