// 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'; } } }); }
May 5 | Bugfix for exporting CSV of Raw Materials, where some lines would be repeated if those items were part of a purchase order that had been split. | Bugfix |
May 5 | Performance improvement for showing Picklist | Usability |
May 5 | Performance improvement for sorting Purchase Orders by PO Number. | Usability |
May 5 | Turn the website address into a clickable link. | Enhancement |
May 5 | Remembering the last used operation type in the mobile Product QR code scanner page. | Usability |
May 5 | Bugfix for refreshing the Job and Lead forms, when making a new lead / job in certain circumstances related to showing the bar chart first. | Bugfix |
May 12 | Bugfix to Quote Emails with attachments including commas failing due to line 638 in quote_controller | Bugfix |
May 12 | Automatic refresh to the Lead & Job Bar Chart. | Enhancement |
May 12 | Adding function to add tooltips for quote styles to make it easier to see which style has been chosen. | Enhancement |
May 12 | Adding ability to have multiple quote corro email templates, and to be able to select between them when sending quote emails. | Enhancement |
May 12 | Bugfix for quotes showing products that are in an inactive product type. | Bugfix |
May 19 | Adding tooltip to availability chart item details in the grid. | Enhancement |
May 19 | Prefill ‘Received on’ and ‘Received by’ values on the Job Appliance Detail screen based on a config value. | Enhancement |
May 19 | Make picklist printout ordering match the onscreen version. | Usability |
May 19 | Allowing Job Cost report to show Cost To Date for jobs. | Enhancement |
May 19 | Performance improvement to Google Drive cloud file integration. | Enhancement |
May 26 | Bugfix for adding partial values of quotes to invoices when multiple accepted quotes exist with the same name inside a lead. | Enhancement |
May 26 | Making the CSV export for Time & Attendance Reports separate out the Day & Time for the Logged In Date and Logged In Time columns. | Usability |
May 26 | Bugfix for lead detail questions that had apostrophes in them, which would cause issues displaying the lead form. | Bugfix |
May 26 | Bugfix for email sometimes showing strange characters, when automatically sending due to a new alert being created from iOS. | Bugfix |
