Getting Started
Importing Files
Dashboard
Modules
Calculate
Contract
Control
Reports
Glossary
DE
EN
fr
Calculate
Contract
Invoices
Report
Workflow Setup
Invoice Document Workflow
Invoice Batch Workflow
{ const doc = document.documentElement; const header = document.getElementById("header"); const headerHeight = header ? header.offsetHeight : 0; doc.style.setProperty('--app-height', `${window.innerHeight}px`); doc.style.setProperty('--header-height', `${headerHeight}px`); } window.addEventListener('resize', appHeight); appHeight(); // 4. Smooth Anchor Scrolling window.addEventListener("DOMContentLoaded", function() { var links = document.getElementsByTagName("A"); for(var i=0; i < links.length; i++) { if(!links[i].hash) continue; if(links[i].origin + links[i].pathname != self.location.href) continue; (function(anchorPoint) { if (anchorPoint) { links[i].addEventListener("click", function(e) { anchorPoint.scrollIntoView({ behavior: 'smooth' }); e.preventDefault(); }, false); } })(document.getElementById(links[i].hash.replace(/#/, ""))); } });