2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-18 04:55:44 +00:00

Simplify URLs for purchase orders

This commit is contained in:
Oliver Walters
2020-03-22 19:47:08 +11:00
parent 834f80698b
commit 5af2fae120
12 changed files with 32 additions and 31 deletions

View File

@ -100,7 +100,7 @@ InvenTree | {% trans "Company" %} - {{ company.name }}
});
$("#company-order-2").click(function() {
launchModalForm("{% url 'purchase-order-create' %}",
launchModalForm("{% url 'po-create' %}",
{
data: {
supplier: {{ company.id }},

View File

@ -28,7 +28,7 @@
function newOrder() {
launchModalForm("{% url 'purchase-order-create' %}",
launchModalForm("{% url 'po-create' %}",
{
data: {
supplier: {{ company.id }},