mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
remove detail view
This commit is contained in:
parent
d747418937
commit
36d288fc27
@ -2843,10 +2843,6 @@ function loadSalesOrderAdditionalLineItemTable(table, options={}) {
|
|||||||
|
|
||||||
// Has the order shipped?
|
// Has the order shipped?
|
||||||
var shipped = options.status == {{ SalesOrderStatus.SHIPPED }};
|
var shipped = options.status == {{ SalesOrderStatus.SHIPPED }};
|
||||||
|
|
||||||
// Show detail view if the PurchaseOrder is PENDING or SHIPPED
|
|
||||||
var show_detail = pending || shipped;
|
|
||||||
|
|
||||||
// Table columns to display
|
// Table columns to display
|
||||||
var columns = [
|
var columns = [
|
||||||
/*
|
/*
|
||||||
@ -3028,7 +3024,6 @@ function loadSalesOrderAdditionalLineItemTable(table, options={}) {
|
|||||||
url: options.url,
|
url: options.url,
|
||||||
showFooter: true,
|
showFooter: true,
|
||||||
uniqueId: 'pk',
|
uniqueId: 'pk',
|
||||||
detailView: show_detail,
|
|
||||||
detailViewByClick: false,
|
detailViewByClick: false,
|
||||||
columns: columns,
|
columns: columns,
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user