This commit is contained in:
Víðir Valberg Guðmundsson 2016-05-31 19:55:33 +02:00
parent 1cc6d08fed
commit 8c60d476ec

View file

@ -19,6 +19,7 @@
</thead> </thead>
<tbody> <tbody>
{% for order in orders %} {% for order in orders %}
{% if order.products.exists %}
<tr {% if not order.open and order.paid and order.is_fully_handed_out %}style="color: lightgrey"{% endif %}> <tr {% if not order.open and order.paid and order.is_fully_handed_out %}style="color: lightgrey"{% endif %}>
<td>{{ order.id }}</td> <td>{{ order.id }}</td>
<td>{{ order.get_number_of_items }}</td> <td>{{ order.get_number_of_items }}</td>
@ -43,6 +44,7 @@
{% endif %} {% endif %}
</td> </td>
</tr> </tr>
{% endif %}
{% endfor %} {% endfor %}
</tbody> </tbody>
</table> </table>