Add line numbering to SalesOrderLineItem table

This commit is contained in:
Oliver Walters 2020-04-21 09:20:44 +10:00
parent 22c96ad2b7
commit a06595c152

View File

@ -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',