// 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'; } } }); }
Apr 07 | Bugfix to prevent signature doubling up when sending correspondence. | Bugfix |
Apr 07 | Bugfix for Xero integration, handling the case when purchase order items are created with a rate type that doesn’t exist. | Bugfix |
Apr 07 | Bugfix to the Select All button when adjusting screen sizes. | Bugfix |
Apr 07 | Add Source to Picklist. | Enhancement |
Apr 14 | Bugfix to target calendar for showing lead targets for leads, where the lead target is applicable to multiple lead types, and the lead itself has multiple lead types. | Bugfix |
Apr 14 | Template for invoice reference. | Usability |
Apr 14 | Ability to print individual labels for warehouse items. | Enhancement |
Apr 14 | Allow moving of quote sections into work orders. | Enhancement |
Apr 14 | Add a Signature Mobile field. | Enhancement |
Apr 14 | Bugfix to Picklist layout. | Bugfix |
Apr 21 | Bugfix ensuring that invoices that are created with the type of “Full invoice” use the reference template defined in that invoice type. | Bugfix |
Apr 21 | Ensuring that the staff member stays logged in after creating an alert on the mobile touchscreen page | Usability |
Apr 21 | Increasing the size of the Job Type Order field, to allow it to save values higher than 127 | Usability |
Apr 21 | Bugfix for duplicating leads, where sections within quotes wouldn’t be duplicated properly. | Bugfix |
Apr 21 | Bugfix for viewing the Staff Time and Attendance report, when it was saved with a staff member selected, that had an apostrophe in their name. | Bugfix |
Apr 21 | Bugfix for copying Job Specs and Appliances to new Jobs, when leads did not have 1 accepted quote in them. | Bugfix |
Apr 21 | Bugfix for Lead Bar Chart refreshing back to page one. | Bugfix |
Apr 21 | Bugfix for a few different types of emails not being able to be sent through Postmark | Bugfix |
Apr 27 | Bugfix for Job Bar chart very occasionally not choosing the earliest operation that had not yet been completed, for display. | Bugfix |
Apr 27 | Bugfix for alerts not sending images to the person who was assigned to the alert, when creating the alert for the first time. | Bugfix |
Apr 27 | Bugfix for alert emails, not displaying alert images correctly in some email programs | Bugfix |
Apr 27 | Bugfix for Raw Materials Report not respecting the quantity field when the raw materials are in a section. | Bugfix |
Apr 27 | Bugfix for alert emails, not using the original filename. | Bugfix |
Apr 27 | Sorting Picklist by Bay Location first, then stock type. | Usability |
Apr 27 | Saving corro attachments to the filesystem (with config to enable/disable) | Enhancement |
