Display which lines have been received against a PO

This commit is contained in:
Oliver Walters 2019-09-23 19:05:22 +10:00
parent 21e369e6cc
commit 0d68dbcfa7

View File

@ -115,7 +115,7 @@ InvenTree | {{ order }}
</thead> </thead>
<tbody> <tbody>
{% for line in order.lines.all %} {% for line in order.lines.all %}
<tr> <tr{% if order.status == OrderStatus.PLACED %} class={% if line.received < line.quantity %}'rowinvalid'{% else %}'rowvalid'{% endif %}{% endif %}>
<td> <td>
{{ forloop.counter }} {{ forloop.counter }}
</td> </td>