Time Log Settings
Time Logging a feature added in this system is mainly to track the time taken by individual tasks or projects as a whole for completion. It is necessary to start the timer and keep track of work using it. These settings permit the turning off of the timer after the office hours ends and also to check if the time logging activity should demand approval or not.

document.querySelectorAll(‘.portal-attachment-thumbnail-img’).forEach(function(img) {
img.addEventListener(‘error’, function () {
attachment_error_image(this);
});
});
const attachment_error_image = (attachment) => {
const parentElement = attachment.parentElement;
const defaultIcon = <span class="icon-file-empty"></span><span class="fw-attachment-ext">${escapeHtml(attachment.dataset.extension)}</span>;
parentElement.innerHTML = defaultIcon;
};