// 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 1 | Adding Job Forms (similar to Job Specs) | Enhancement |
| Apr 1 | Parts in Products. Availability Chart items or Style Types. | Enhancement |
| Apr 1 | Allowing brands to link to supplier customers that are of a different type to the default “Supplier”. This is now based on the customer type, and whether that customer type can have a purchase order. | Bugfix |
| Apr 2 | Making Pay Rate Award form stretch properly | Bugfix |
| Apr 2 | Changing order of tabs in the Pay Rate Award form | Usability |
| Apr 2 | Allow multiple email addresses to be put into the purchase order cc config variable | Bugfix |
| Apr 4 | Removed the Add Record button from the Attendance tab on the Timesheet | Bugfix |
| Apr 8 | Bugfix for default chargeout rate not being overriden by user input | Bugfix |
| Apr 8 | Bugfix for handling quotes that are accepted after the job was created (adding raw materials to parent job) | Bugfix |
| Apr 8 | Bugfix for sometimes not remembering state variables | Bugfix |
| Apr 8 | Fix for keyboard navigation in Quotes for Type selection. | Bugfix |
| Apr 8 | Moved dollar values to be right aligned in the cells, with decimal points where required. | Enhancement |
| Apr 8 | Added Duplicate Product functionality. | Enhancement |
| Apr 9 | Allow user to edit the percentage value for partial invoices | Enhancement |
| Apr 9 | Display Tool Tips on products that show individual hardware, cost and labour | Enhancement |
| Apr 9 | Bugfix for MYOB integration – handling multiple payments for invoices now enter all those payments, and calculate the amount paid properly. | Bugfix |
| Apr 9 | Handle deleted products when adding quote preset items | Bugfix |
| Apr 10 | Handle cabinet vision issues to do with some computers capitalizing and some not capitalizing the various files | Bugfix |
| Apr 11 | Change the default toolip delay dismiss time from 5 seconds to 10 seconds site wide | Enhancement |
| Apr 11 | Xero integration now handles leave requests | Enhancement |
| Apr 15 | Preventing deleted products from being shown in the product dropdown menu, inside quote presets | Bugfix |
| Apr 16 | Adding “Style Type” filter to the “Styles” tab. | Enhancement |
| Apr 16 | Added Part Names and Pricing according to matrix in the Quote Tooltips | Enhancement |
| Apr 17 | Adding new field to select whether or not a particular product part should populate the raw materials for the job, if a quote with this product is accepted. | Enhancement |
| Apr 17 | Adding “Style Type” column to the Product Stock Record tab | Enhancement |
| Apr 18 | Bugfix for state variables in touchscreen pages. This will use the saved state for the user for all touchscreen pages that use the details system. | Bugfix |
| Apr 18 | Changed the way Job and Lead operations can be completed. Prevents out of sequence completions. | Enhancement |
| Apr 23 | Bugfix for when you choose a quote preset before the style was set, and then try to set the style afterwards. | Bugfix |
| Apr 23 | Fixed Percentage Complete issue on Job and Lead Checklist when setting 100% complete. Lead had no complete checkbox, actual date and staff update and Job had Staff update issue. | Bugfix |
| Apr 24 | An email will go to a nominated address listing the staff members who have not yet logged in on that day as per staff members expected working days. | Enhancement |
| Apr 26 | Adding “Job Created” column in agenda screens. Also made a change that may fix the state issues on agenda screens on the tablet interface. | Enhancement |
| Apr 26 | Bugfix for adding percentages to a quote using quote presets, and the percentage value going into the Buy Price column instead of the Unit Price column. | Bugfix |
| Apr 30 | Adding “Status” field to the Job Appliance Detail PDF printout | Enhancement |
| Apr 30 | Allowing the quote introduction editor to be resized | Enhancement |
