Vehicle Packing LIst Template Issue
I have a packing list: Packing List Template: Vehicle | InflatableOffice
In it, I've added the following code:
const spans = document.querySelectorAll('td span.option_name');
spans.forEach(span =>
{
const cell = span.parentElement;
const row = cell.parentElement;
row.style.display = 'none';
});
IDK how I got the code before, but it does EXACTLY what I want it to do when I print the vehicle packing list. Where the issue comes in is that if I print ALL vehicles, the code doesn't work. When I pick any one of the vehicles, it works exactly as intended.
I.e. When I have all vehicles selected the following shows:
The circled area is a duplicate of what's in the packing list above it. When I select ONLY the 1 vehicle it does this:
The second picture is what I want to happen when ALL vehicles are selected.
I am having our developers take a look at this!
Thank you
I am having our developers take a look at this!
Thank you
Replies have been locked on this page!