Fix filtering for purchaseorder table on supplierpart page

This commit is contained in:
Oliver 2022-06-02 13:48:27 +10:00
parent 3b3238f762
commit 77fb02ff39

View File

@ -309,7 +309,9 @@ $('#new-price-break').click(function() {
}); });
loadPurchaseOrderTable($("#purchase-order-table"), { loadPurchaseOrderTable($("#purchase-order-table"), {
url: "{% url 'api-po-list' %}?supplier_part={{ part.id }}", params: {
supplier_part: {{ part.id }},
}
}); });
loadStockTable($("#stock-table"), { loadStockTable($("#stock-table"), {