From 7109bdbc78b0574096341d2a31e9597e4e41f63b Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Wed, 15 Mar 2023 08:00:28 +1100 Subject: [PATCH] Render contact information --- InvenTree/order/templates/order/order_base.html | 7 +++++++ InvenTree/order/templates/order/return_order_base.html | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/InvenTree/order/templates/order/order_base.html b/InvenTree/order/templates/order/order_base.html index 63d415afa2..244a5caf43 100644 --- a/InvenTree/order/templates/order/order_base.html +++ b/InvenTree/order/templates/order/order_base.html @@ -179,6 +179,13 @@ src="{% static 'img/blank_image.png' %}" {% render_date order.complete_date %}{{ order.received_by }} {% endif %} + {% if order.contact %} + + + {% trans "Contact" %} + {{ order.contact.name }} + + {% endif %} {% if order.responsible %} diff --git a/InvenTree/order/templates/order/return_order_base.html b/InvenTree/order/templates/order/return_order_base.html index faf0bd4340..80e1ca3c48 100644 --- a/InvenTree/order/templates/order/return_order_base.html +++ b/InvenTree/order/templates/order/return_order_base.html @@ -107,6 +107,13 @@ src="{% static 'img/blank_image.png' %}" {% trans "Created" %} {% render_date order.creation_date %}{{ order.created_by }} + {% if order.contact %} + + + {% trans "Contact" %} + {{ order.contact.name }} + + {% endif %} {% if order.responsible %}