mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-16 12:05:53 +00:00
Add line numbering to SalesOrderLineItem table
This commit is contained in:
@ -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',
|
||||||
|
Reference in New Issue
Block a user