mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-31 05:05:42 +00:00 
			
		
		
		
	Cleaup for delete supplier part form
This commit is contained in:
		| @@ -1 +1,5 @@ | ||||
| {% extends "modal_delete_form.html" %} | ||||
|  | ||||
| {% block pre_form_content %} | ||||
| Are you sure you want to delete this supplier part? | ||||
| {% endblock %} | ||||
| @@ -109,7 +109,7 @@ InvenTree | {{ company.name }} - Parts | ||||
|     }); | ||||
|  | ||||
|     $('#delete-part').click(function() { | ||||
|         launchDeleteForm( | ||||
|         launchModalForm( | ||||
|                          "{% url 'supplier-part-delete' part.id %}", | ||||
|                          { | ||||
|                              redirect: "{% url 'company-index' %}" | ||||
|   | ||||
| @@ -804,3 +804,4 @@ class SupplierPartDelete(AjaxDeleteView): | ||||
|     success_url = '/supplier/' | ||||
|     ajax_template_name = 'company/partdelete.html' | ||||
|     ajax_form_title = 'Delete Supplier Part' | ||||
|     context_object_name = 'supplier_part' | ||||
		Reference in New Issue
	
	Block a user