{% extends "modal_delete_form.html" %}
{% load i18n %}
{% load inventree_extras %}

{% block pre_form_content %}
<div class='alert alert-block alert-warning'>
    {% trans "This action will unallocate the following stock from the Sales Order" %}:
    <br>
    <b>
        {% decimal allocation.get_allocated %} x {{ allocation.line.part.full_name }}
        {% if allocation.item.location %} ({{ allocation.get_location }}){% endif %}
    </b>
</div>
{% endblock %}