July 2023

// find the parent tr element of any td with the word Bugfix in it document.addEventListener("DOMContentLoaded", function(){ let tableElement = setUpShowMoreButton(); // create top bar, if there are bug fixes if (tableElement != '') { let buttonDiv = document.createElement('div'); buttonDiv.setAttribute('class', 'topNewsBar'); buttonDiv.innerHTML = ''; tableElement.prepend(buttonDiv); } }); function setUpShowMoreButton() { let hideBugfixFlag = false; let tableElement = ''; document.querySelectorAll('td').forEach(function(item){ if (item.innerHTML.indexOf('Bug') != -1) { let thisParentElement = item.parentElement; // thisParentElement.style.display = 'none'; thisParentElement.classList.add('bugfixStyle'); thisParentElement.style = 'display: none' hideBugfixFlag = true; tableElement = thisParentElement.parentElement.parentElement.parentElement; } }); reStyleTableRows(); return tableElement; } function showBugfixes() { let classElements = document.getElementsByClassName('bugfixStyle'); Array.prototype.forEach.call(classElements,function(classElement){ classElement.style = 'display:table-row'; }); let hideButton = document.getElementById('showMoreButton'); hideButton.textContent = 'Show Less'; hideButton.setAttribute('onClick','hideBugfixes()'); reStyleTableRows(); } function hideBugfixes() { let classElements = document.getElementsByClassName('bugfixStyle'); Array.prototype.forEach.call(classElements,function(classElement){ classElement.style = 'display:none'; }); let hideButton = document.getElementById('showMoreButton'); hideButton.textContent = 'Show More'; hideButton.setAttribute('onClick','showBugfixes()'); reStyleTableRows(); } // Re-create alternative row colours function reStyleTableRows() { let rowCount = 0; document.querySelectorAll('tr').forEach(function(item){ if (item.style.display != 'none') { if (rowCount++ % 2) { item.style = 'background-color:#f3f4f5'; } else { item.style = 'background-color:transparent'; } } }); }      
5th July Bugfix for MYOB Integration, where when a payment is reconciled against an invoice in MYOB, this doesn’t mark the invoice as fully paid in Jobman. Bugfix
5th July Allowing the Job Details on email triggers to be turned off site-wide by the use of the config variable SHOW_JOB_DETAILS_ON_EMAIL_TRIGGERS. Enhancement
5th July Adding customer name to list of customers, when emailing a quote. Enhancement
12th July Bugfix for creating a job from a lead, where the job value might be set to 0 in very specific circumstances relating to staff access levels and ability to see lead values. Bugfix
12th July Adding Source and Brand filters to Raw Material report, which allows the user to find all the Raw Materials that haven’t been ordered for a particular job. Enhancement
12th July Bugfix for corro template when sending corro for a specified customer, where the contact person details wouldn’t be replaced. Bugfix
12th July Bugfix for Xero integration, to ensure that dates set in invoices in Xero, get transferred back to Jobman Bugfix
12th July Bugfix for quote item section name occasionally showing the wrong information, especially when using labour items. Bugfix
19th July Updating alert behaviour to email responsible people when the alert description is updated. Enhancement
 26th July Bugfix for calculating labour times for accepted quotes, where occasionally some sections in non-accepted quotes would be counted. Bugfix
26th July Allowing negative variations. Enhancement
26th July  Bugfix for Financial Report to include Material Costs from work orders when the “Include Work Orders in totals” checkbox is ticked.  Bugfix