mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Update form for deleting stock location
This commit is contained in:
parent
00b37b62db
commit
d679ee9971
@ -97,7 +97,7 @@
|
||||
});
|
||||
|
||||
$('#location-delete').click(function() {
|
||||
launchDeleteForm("{% url 'stock-location-delete' location.id %}",
|
||||
launchModalForm("{% url 'stock-location-delete' location.id %}",
|
||||
{
|
||||
redirect: "{% url 'stock-index' %}"
|
||||
});
|
||||
|
@ -1,3 +1,6 @@
|
||||
{% extends "modal_delete_form.html" %}
|
||||
|
||||
{% block pre_form_content %}
|
||||
Are you sure you want to delete stock location '{{ location.name }}'?
|
||||
|
||||
<br>
|
||||
@ -34,3 +37,4 @@ If this location is deleted, these items will be moved to the top level 'Stock'
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
{% endblock %}
|
Loading…
Reference in New Issue
Block a user