mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Open labels and reports in a new window (#3602)
This commit is contained in:
parent
69c3e5e222
commit
978d18d01b
@ -44,7 +44,7 @@ function printLabels(url, plugin=null) {
|
||||
}
|
||||
});
|
||||
} else {
|
||||
window.location.href = url;
|
||||
window.open(url);
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -152,7 +152,7 @@ function printTestReports(items) {
|
||||
href += `item=${item}&`;
|
||||
});
|
||||
|
||||
window.location.href = href;
|
||||
window.open(href);
|
||||
}
|
||||
}
|
||||
);
|
||||
@ -205,7 +205,7 @@ function printBuildReports(builds) {
|
||||
href += `build=${build}&`;
|
||||
});
|
||||
|
||||
window.location.href = href;
|
||||
window.open(href);
|
||||
}
|
||||
}
|
||||
);
|
||||
@ -259,7 +259,7 @@ function printBomReports(parts) {
|
||||
href += `part=${part}&`;
|
||||
});
|
||||
|
||||
window.location.href = href;
|
||||
window.open(href);
|
||||
}
|
||||
}
|
||||
);
|
||||
@ -313,7 +313,7 @@ function printPurchaseOrderReports(orders) {
|
||||
href += `order=${order}&`;
|
||||
});
|
||||
|
||||
window.location.href = href;
|
||||
window.open(href);
|
||||
}
|
||||
}
|
||||
);
|
||||
@ -367,7 +367,7 @@ function printSalesOrderReports(orders) {
|
||||
href += `order=${order}&`;
|
||||
});
|
||||
|
||||
window.location.href = href;
|
||||
window.open(href);
|
||||
}
|
||||
}
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user