mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Reorder BOM table
This commit is contained in:
parent
40d8332e7f
commit
d96989f640
@ -113,6 +113,16 @@ function loadBomTable(table, options) {
|
|||||||
sortable: true,
|
sortable: true,
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
// Part notes
|
||||||
|
cols.push(
|
||||||
|
{
|
||||||
|
field: 'note',
|
||||||
|
title: 'Notes',
|
||||||
|
searchable: true,
|
||||||
|
sortable: false,
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
if (options.editable) {
|
if (options.editable) {
|
||||||
cols.push({
|
cols.push({
|
||||||
@ -124,6 +134,7 @@ function loadBomTable(table, options) {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
else {
|
else {
|
||||||
cols.push(
|
cols.push(
|
||||||
{
|
{
|
||||||
@ -149,16 +160,6 @@ function loadBomTable(table, options) {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Part notes
|
|
||||||
cols.push(
|
|
||||||
{
|
|
||||||
field: 'note',
|
|
||||||
title: 'Notes',
|
|
||||||
searchable: true,
|
|
||||||
sortable: false,
|
|
||||||
}
|
|
||||||
);
|
|
||||||
|
|
||||||
// Configure the table (bootstrap-table)
|
// Configure the table (bootstrap-table)
|
||||||
|
|
||||||
table.bootstrapTable({
|
table.bootstrapTable({
|
||||||
|
Loading…
Reference in New Issue
Block a user