mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
show footer
This commit is contained in:
parent
70e0933336
commit
2fc185bd71
@ -117,6 +117,7 @@ $("#po-table").inventreeTable({
|
|||||||
part_detail: true,
|
part_detail: true,
|
||||||
},
|
},
|
||||||
url: "{% url 'api-po-line-list' %}",
|
url: "{% url 'api-po-line-list' %}",
|
||||||
|
showFooter: true,
|
||||||
columns: [
|
columns: [
|
||||||
{
|
{
|
||||||
field: 'pk',
|
field: 'pk',
|
||||||
@ -137,6 +138,9 @@ $("#po-table").inventreeTable({
|
|||||||
return '-';
|
return '-';
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
footerFormatter: function() {
|
||||||
|
return 'Total'
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: 'part_detail.description',
|
field: 'part_detail.description',
|
||||||
|
Loading…
Reference in New Issue
Block a user