// 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';
}
}
});
}
| Sept 01 |
Performance improvement for printing lead appliance form. |
Enhancement |
| Sept 02 |
Bugfix for pasting text into Sections, where sometimes the pasting operation would fail and leave the text unable to be edited. |
Bugfix |
| Sept 03 |
Performance improvement for saving individual purchase order items. |
Enhancement |
| Sept 06 |
Bugfix for the capacity planning page, where in very rare circumstances the labour centre selector would not filter the correct data. |
Bugfix |
| Sept 07 |
Add job raw material picklist to tablet interface. |
Usability |
| Sept 08 |
Blanking out the comments field after pausing on the mobile operations touchscreen. |
Usability |
| Sept 09 |
Bugfix for adding purchase order items directly from the availability chart, before selecting the relevant supplier. The list was sometimes not keeping the data once the proper supplier was chosen. |
Bugfix |
| Sept 10 |
Adding thousands separator to the quote item subtotal printout. |
Enhancement |
| Sept 13 |
Allow items in warehouse to be split into different lines, if they have different prices. |
Usability |
| Sept 14 |
When purchase order items are received from a non-preferred supplier, the stock should automatically get assigned with the preferred supplier ID. |
Enhancement |
| Sept 14 |
Make contact detail text fields wider (expand with window) |
Usability |
| Sept 14 |
Adding columns in CSV file |
Enhancement |
| Sept 15 |
Bugfix – contact name is coming across as false |
Bugfix |
| Sept 16 |
Migrate QuoteItemTypeID to ensure is TEXT |
Bugfix |
| Sept 20 |
Bugfix for the Financial Report, where it was showing incorrect quantities for purchase order items, where those items were split into another purchase order. |
Bugfix |
| Sept 21 |
Dropbox case sensitivity bugfix. |
Bugfix |
| Sept 22 |
Bugfix – Ensuring that updating customers in Jobman, retains custom information that may have been entered in the MYOB interface. This is a rare condition, that only affects some fields in MYOB. |
Bugfix |
| Sept 27 |
Bugfix for when users try to sort the Job Raw Materials by the Quantity In Stock column. |
Bugfix |
| Sept 28 |
Bugfix for some price calculations relating to stock control. |
Bugfix |
| Sept 29 |
Update generic CSV import to quotes, to allow importing of availability chart items. |
Usability |
| Sept 30 |
Bugfix, Job report is showing jobs when filtered by target date, when that target is marked as N/A |
Bugfix |
