Levier manuel adapté pour AS-Motor AS 50 und AS 50 B1/4T Désherbeuse

Référence de l’article: 6842897

var holidays = new Set(); document.addEventListener("DOMContentLoaded", function() { var countdownContainer = document.getElementById("countdown-container"); fetchHolidays() .then(function() { countdownContainer.style.display = "flex"; updateCountdown(); setInterval(updateCountdown, 1000); }) .catch(function(error) { console.error("Fehler beim Laden der Feiertage:", error); }); }); function fetchHolidays() { var apiUrl = "https://feiertage-api.de/api/?jahr=" + new Date().getFullYear() + "&nur_land=NW"; return fetch(apiUrl) .then(function(response) { if (!response.ok) { throw new Error("Feiertage konnten nicht geladen werden"); } return response.json(); }) .then(function(data) { holidays.clear(); Object.values(data).forEach(function(h) { holidays.add(h.datum); }); console.log('feiertage', holidays); }); } function getNextBusinessDay(date) { do { date.setDate(date.getDate() + 1); } while (date.getDay() === 6 || date.getDay() === 0 || holidays.has(date.toISOString().split('T')[0])); return date; } function runTest() { const testDate = document.getElementById("test-date").value; if (!testDate) { alert("Bitte ein Testdatum auswählen!"); return; } updateCountdown(testDate); } function updateCountdown(customDate) { var countdownText = document.getElementById("countdown-text"); if (!countdownText) return; var now = customDate ? new Date(customDate) : new Date(); var bestellSchluss = new Date(now); bestellSchluss.setHours(15, 0, 0, 0); if (now.getDay() === 6 || now.getDay() === 0 || holidays.has(now.toISOString().split('T')[0])) { bestellSchluss = getNextBusinessDay(bestellSchluss); } else if (now >= bestellSchluss) { bestellSchluss = getNextBusinessDay(bestellSchluss); } var versandTag = new Date(bestellSchluss); if (now >= bestellSchluss) { versandTag = getNextBusinessDay(versandTag); } var diff = bestellSchluss - now; var hours = Math.floor(diff / (1000 * 60 * 60)); var minutes = Math.floor((diff / (1000 * 60)) % 60); var seconds = Math.floor((diff / 1000) % 60); document.getElementById("hours").textContent = hours.toString().padStart(2, '0'); document.getElementById("minutes").textContent = minutes.toString().padStart(2, '0'); document.getElementById("seconds").textContent = seconds.toString().padStart(2, '0'); var today = new Date().toDateString(); var bestellTagHeute = bestellSchluss.toDateString() === today; var versandTagHeute = versandTag.toDateString() === today; var bestellTagName = bestellTagHeute ? "heute" : bestellSchluss.toLocaleDateString("de-DE", { weekday: "long" }); var versandTagName = versandTagHeute ? "noch heute" : "am " + versandTag.toLocaleDateString("de-DE", { weekday: "long" }); var newText = "Bestellen Sie Ihre Auftrag bis " + bestellTagName + ",\n 15:00 Uhr " + "damit es " + versandTagName + " verschickt wird."; if (countdownText.innerText !== newText) { countdownText.innerText = newText; } }

14 jours pour changer d'avis

Levier manuel compatible avec AS-Motor AS 50 und AS 50 B1/4T Désherbeuse

Monté dans les années de construction :
ab FNr. 016604404001 Serienstart
ab FNr. 016606202001
ab FNr. 016607202043
ab FNr. 016607303001
ab FNr. 016607303066
ab FNr. 016608110001
ab FNr. 016612030061
ab FNr. 016614040001
ab FNr. 032919010001

Monté dans les années de construction :
ab FNr. 016604404001 Serienstart
ab FNr. 016606202001
ab FNr. 016607202043
ab FNr. 016607303001
ab FNr. 016607303066
ab FNr. 016608110001
ab FNr. 016612030061
ab FNr. 016614040001
ab FNr. 032919010001

Herstellerinformationen

MA-Versand GmbH

In der Laach- 1-3

53925 Kall

info@ma-versand.de