From 2fc185bd7147abf1beff6924adb1c98008b830d1 Mon Sep 17 00:00:00 2001 From: Matthias Date: Wed, 16 Jun 2021 23:57:33 +0200 Subject: [PATCH] show footer --- InvenTree/order/templates/order/purchase_order_detail.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/InvenTree/order/templates/order/purchase_order_detail.html b/InvenTree/order/templates/order/purchase_order_detail.html index fda45240dc..155fb50eae 100644 --- a/InvenTree/order/templates/order/purchase_order_detail.html +++ b/InvenTree/order/templates/order/purchase_order_detail.html @@ -117,6 +117,7 @@ $("#po-table").inventreeTable({ part_detail: true, }, url: "{% url 'api-po-line-list' %}", + showFooter: true, columns: [ { field: 'pk', @@ -137,6 +138,9 @@ $("#po-table").inventreeTable({ return '-'; } }, + footerFormatter: function() { + return 'Total' + } }, { field: 'part_detail.description',