mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-30 04:26:44 +00:00
Add button to remove line items from the 'receive' form
This commit is contained in:
parent
3405fb93a9
commit
93667f942f
@ -37,7 +37,7 @@ Receive outstanding parts for <b>{{ order }}</b> - <i>{{ order.description }}</i
|
|||||||
<th>Receive</th>
|
<th>Receive</th>
|
||||||
</tr>
|
</tr>
|
||||||
{% for line in lines %}
|
{% for line in lines %}
|
||||||
<tr>
|
<tr id='line_row_{{ line.id }}'>
|
||||||
{% if line.part %}
|
{% if line.part %}
|
||||||
<td>
|
<td>
|
||||||
{% include "hover_image.html" with image=line.part.part.image hover=False %}
|
{% include "hover_image.html" with image=line.part.part.image hover=False %}
|
||||||
@ -56,6 +56,11 @@ Receive outstanding parts for <b>{{ order }}</b> - <i>{{ order.description }}</i
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
|
<td>
|
||||||
|
<button class='btn btn-default btn-remove' id='del_item_{{ line.id }}' title='Remove line' type='button'>
|
||||||
|
<span row='line_row_{{ line.id }}' onClick="removeOrderRowFromOrderWizard()" class='glyphicon glyphicon-small glyphicon-remove'></span>
|
||||||
|
</button>
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</table>
|
</table>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user