Add warning if no pricing data available

This commit is contained in:
Oliver Walters 2019-05-18 23:13:18 +10:00
parent 368193d397
commit ffda5a1b29

View File

@ -36,6 +36,13 @@ Calculate pricing information for {{ part }}.
{% endif %} {% endif %}
</table> </table>
{% if buy_price or bom_price %}
{% else %}
<div class='alert alert-danger alert-block'>
No pricing information is available for this part.
</div>
{% endif %}
<hr> <hr>
{% endblock %} {% endblock %}