show footer

This commit is contained in:
Matthias 2021-06-16 23:57:33 +02:00
parent 70e0933336
commit 2fc185bd71

View File

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