// 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';
}
}
});
}
| June 4 | Removed Jobman Admin staff from contacts drop-downs and lists. | Enhancement |
| June 4 | Made Job Appliance Detail form autofill the brand field when certain job appliances are chosen. | Usability |
| June 4 | Added room name to footer of job spec printouts | Enhancement |
| June 4 | Made Product Parts disabled by default. | Usability |
| June 5 | Bugfix for purchase orders, where the user would enter some information in the purchase order, then hit “Email” and old information would get emailed. | Bugfix |
| June 5 | Adding “Show” button to the Purchase Order form, next to the “Supplier” button. | Enhancement |
| June 5 | Widened the default search field at the bottom of grids. | Usability |
| June 5 | Limited the items in the “possible” grid when making a new purchase order, based on the selected supplier. | Usability |
| June 6 | Added tool tip to ‘Multiple’ Job Numbers in Purchase Order to show all Job Numbers involved. | Enhancement |
| June 6 | Improved search function in Purchase Order to find any Job Number included in Purchase Orders. | Enhancement |
| June 12 | Making quote columns stretch to fill the screen | Bugfix |
| June 12 | Allowing Styles to select a price matrix, to use for pricing product items/parts | Feature |
| June 18 | Allowing the touchscreen to show the Alerts button, when users haven’t logged in using the ‘normal’ login process. | Usability |
| June 20 | Forcing users to choose a task when filling out their timesheet | Usability |
| June 20 | Adding new report for calculating staff costs. | Feature |
| June 20 | Creating a new Materials to be Ordered report | Feature |
| June 20 | Bugfix for outputting the JobSpecQuestionAnswer correctly | Bugfix |
| June 20 | Allowing Job Forms to use Room Types, which will limit the questions that will be shown when editing the job form. | Enhancement |
| June 20 | Making the finish filter field wider on the availability chart | Enhancement |
| June 20 | Adding ability to show targets on agenda screens | Enhancement |
| June 21 | Updating corro display so that signatures are shown when editing the corro. You can also put the placeholder {$EmailSignature} into the corro templates, which will put the signature inside the template. | Enhancement |
| June 25 | Adding ability to split job raw material assignments, to use stock first, and then the rest should come in via a purchase order. | Enhancement |
| June 25 | Adding ability to preset classifications for products | Usability |
| June 26 | Adding Job Spec Presets | Enhancement |
| June 27 | Ability to select Timesheet Tasks with the keyboard for Jobs and Leads. Added mandatory Task for Leads. Made ComboBoxes change width when resizing form. | Usability |
