// 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'; } } }); }
July 7 | Bugfix for invoices occasionally reporting that “Totals don’t match” when printing. | Bugfix |
July 7 | Allowing Jobman to handle the difference between Individuals and Companies in MYOB. | Usability |
July 7 | Bugfix to handle sorting by Phone Number in contacts. | Bugfix |
July 7 | Improvements to handling Xero contact persons. | Enhancement |
July 7 | Update quote item imports to use sections instead of headings. | Enhancement |
July 7 | Allowing alerts mobile page to show the job number that is currently being logged into, without the user having to choose it each time. | Enhancement |
July 7 | Adding in functionality so that the replacement variable {$Invoice.ProjectName} works in more places than just the invoice template. | Enhancement |
July 14 | Bugfix for “Could not connect to database” error meaning that data could be lost. Now the form will re-open, allowing the user to try again in a few seconds, after the transient network error had passed. | Bugfix |
July 14 | Allowing Invoice Email Subject config variable to have all the normal Invoice replacement variables. | Enhancement |
July 14 | Handle purchase order file attachments that have a comma in them. | Usability |
July 14 | Bugfix for contact persons with an apostrophe in their email address, causing issues with some forms going blank. | Bugfix |
July 21 | Bugfix for the “Copy ticked operations to work orders” function, which was updating the work orders tasks, but not the operations. | Bugfix |
July 21 | Bugfix for mobile alerts page logging the user off a job after submitting an alert. | Bugfix |
July 21 | Bugfix for invoice items sometimes being reordered when sending across and back from MYOB. | Bugfix |
July 21 | Bugfix for apostrophes in specific lead status names causing the lead checklist to hang. | Bugfix |
July 21 | Bugfix when multiple PDF files are created in quick succession, where sometimes some of the PDFs would not be generated properly. | Bugfix |
July 21 | Bugfix for Purchase Order grid, where the Supplier dropdown might not show all suppliers if the user has modified the customer types from the default setup. | Bugfix |
July 21 | Bugfix for lead bar chart, where some operations would show up as orange if the target date was on a previous day, but still less than 24 hours ago. | Bugfix |
July 21 | Bugfix for Xero integration not handling phone numbers properly, when someone entered the ‘+’ character in the country code in Xero. | Bugfix |
July 21 | Bugfix for Xero integration occasionally making bogus contact persons (with single character firstnames and lastnames) in certain circumstances. | Bugfix |
July 28 | Bugfix for Xero integration, where occasionally the area code and country code could get corrupted if these were initially present, but then removed from within Jobman. | Bugfix |
July 28 | Bugfix for OneDrive, where files larger than 6 MB weren’t able to be uploaded. | Bugfix |
July 28 | Performance improvement for agenda screens. | Enhancement |
July 28 | Improving performance of lead and job file handling, especially when using Dropbox / OneDrive where searching for folders can be quite slow. | Enhancement |
July 28 | Performance improvement for the Job Cost report. | Enhancement |
July 28 | Performance improvement for the Job Time report. | Enhancement |
July 28 | Performance improvement when duplicating a lead with long involved quotes in it. | Enhancement |
July 28 | Bugfix for agenda screens, where sometimes a later operation would be shown as being ‘next’, when the duration of that operation was longer than the one that was supposed to happen ‘first’. | Bugfix |
