2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-18 13:05:42 +00:00

Reload purchase order table after part order (#4219)

* Reload purchase order table after part order

When on the part page, going to the "Purchase order" sidebar tab.
You can order the part by pressing the "Order Part" button.
After a succefull order, the form closes but the table on the page
was never refreshed.

* Fixed a js styling check error
This commit is contained in:
bloemp
2023-01-24 23:32:17 +01:00
committed by GitHub
parent 1862904a2f
commit 11f147fd34
2 changed files with 10 additions and 2 deletions

View File

@ -757,7 +757,11 @@
success: function(part) {
orderParts(
[part],
{}
{
onSuccess: function() {
$("#purchase-order-table").bootstrapTable('refresh');
}
}
);
}
}