(function(w, d, s, l, i) { w[l] = w[l] || []; w[l].push({ 'gtm.start': new Date().getTime(), event: 'gtm.js' }); var f = d.getElementsByTagName(s)[0], j = d.createElement(s), dl = l != 'dataLayer' ? '&l=' + l : ''; j.async = true; j.src = 'https://www.googletagmanager.com/gtm.js?id=' + i + dl; f.parentNode.insertBefore(j, f); })(window, document, 'script', 'dataLayer', 'GTM-NRWF5FB');
Setting up
Importing Files
System Workflow
Dashboard
Modules
Calculate
Contract
Invoices
Report
Glossary
{ 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(/#/, ""))); } });