mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-31 13:15:43 +00:00 
			
		
		
		
	Display list of purchase orders against a particular supplier par
This commit is contained in:
		| @@ -101,7 +101,10 @@ InvenTree | {{ company.name }} - Parts | ||||
| </div> | ||||
| </div> | ||||
|  | ||||
| <br> | ||||
| <hr> | ||||
|  | ||||
| <h4>Purchase Orders</h4> | ||||
| {% include "order/po_table.html" with orders=part.purchase_orders %} | ||||
|  | ||||
| {% endblock %} | ||||
|  | ||||
|   | ||||
| @@ -128,6 +128,12 @@ class SupplierPartDetail(DetailView): | ||||
|     context_object_name = 'part' | ||||
|     queryset = SupplierPart.objects.all() | ||||
|  | ||||
|     def get_context_data(self, **kwargs): | ||||
|         ctx = super().get_context_data(**kwargs) | ||||
|         ctx['OrderStatus'] = OrderStatus | ||||
|  | ||||
|         return ctx | ||||
|  | ||||
|  | ||||
| class SupplierPartEdit(AjaxUpdateView): | ||||
|     """ Update view for editing SupplierPart """ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user