mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Add line numbering to SalesOrderLineItem table
This commit is contained in:
parent
22c96ad2b7
commit
a06595c152
@ -50,6 +50,12 @@ $("#so-lines-table").inventreeTable({
|
|||||||
title: 'ID',
|
title: 'ID',
|
||||||
visible: false,
|
visible: false,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
title: 'Line',
|
||||||
|
formatter: function(value, row, index, field) {
|
||||||
|
return index + 1;
|
||||||
|
},
|
||||||
|
},
|
||||||
{
|
{
|
||||||
sortable: true,
|
sortable: true,
|
||||||
field: 'part',
|
field: 'part',
|
||||||
|
Loading…
Reference in New Issue
Block a user