From fa95759a009539a2d3ebe5a18321e2290994c64b Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Thu, 11 Mar 2021 14:09:57 +1100 Subject: [PATCH] Enable printing for PO and SO --- .../order/templates/order/order_base.html | 9 +- .../templates/order/sales_order_base.html | 7 ++ InvenTree/report/api.py | 8 +- InvenTree/templates/js/report.js | 108 ++++++++++++++++++ 4 files changed, 127 insertions(+), 5 deletions(-) diff --git a/InvenTree/order/templates/order/order_base.html b/InvenTree/order/templates/order/order_base.html index ed90e1f049..649dbda811 100644 --- a/InvenTree/order/templates/order/order_base.html +++ b/InvenTree/order/templates/order/order_base.html @@ -35,7 +35,10 @@ src="{% static 'img/blank_image.png' %}"

{{ order.description }}

-
+
+ {% if roles.purchase_order.change %} {% if roles.sales_order.change %}