diff --git a/InvenTree/company/models.py b/InvenTree/company/models.py
index 069ecb0ad6..4f0e45c2aa 100644
--- a/InvenTree/company/models.py
+++ b/InvenTree/company/models.py
@@ -135,6 +135,16 @@ class Company(models.Model):
""" Return purchase orders which are 'outstanding' """
return self.purchase_orders.filter(status__in=OrderStatus.OPEN)
+ def closed_purchase_orders(self):
+ """ Return purchase orders which are not 'outstanding'
+
+ - Complete
+ - Failed / lost
+ - Returned
+ """
+
+ return self.purchase_orders.exclude(status__in=OrderStatus.OPEN)
+
def complete_purchase_orders(self):
return self.purchase_orders.filter(status=OrderStatus.COMPLETE)
diff --git a/InvenTree/company/templates/company/detail_purchase_orders.html b/InvenTree/company/templates/company/detail_purchase_orders.html
index 28d7becd1a..0b9882a041 100644
--- a/InvenTree/company/templates/company/detail_purchase_orders.html
+++ b/InvenTree/company/templates/company/detail_purchase_orders.html
@@ -4,17 +4,13 @@
{% include 'company/tabs.html' with tab='po' %}
-
Purchase Orders
+
Open Purchase Orders
+
+{% include "order/po_table.html" with orders=company.outstanding_purchase_orders.all %}
+
+{% if company.closed_purchase_orders.count > 0 %}
+{% include "order/po_table_collapse.html" with title="Closed Orders" orders=company.closed_purchase_orders.all %}
+{% endif %}
-
-
-
Reference
-
Description
-
Status
-
- {% include "company/po_list.html" with orders=company.outstanding_purchase_orders %}
- {% include "company/po_list.html" with orders=company.complete_purchase_orders %}
- {% include "company/po_list.html" with orders=company.failed_purchase_orders %}
-
{% endblock %}
\ No newline at end of file
diff --git a/InvenTree/company/templates/company/orders.html b/InvenTree/company/templates/company/orders.html
deleted file mode 100644
index 519035f5c6..0000000000
--- a/InvenTree/company/templates/company/orders.html
+++ /dev/null
@@ -1,31 +0,0 @@
-{% extends "supplier/supplier_base.html" %}
-
-{% block details %}
-
-{% include "supplier/tabs.html" with tab='order' %}
-
-