1
Fork 0
mirror of https://github.com/Steffo99/estus.git synced 2024-11-25 00:54:18 +00:00

Add supplier display on the create device page

This commit is contained in:
Steffo 2017-09-20 12:45:03 +02:00
parent 1b991ce372
commit 988dc88e71

View file

@ -82,7 +82,7 @@
<select id="form-ordine" class="form-control" name="ordine"> <select id="form-ordine" class="form-control" name="ordine">
<option value=""></option> <option value=""></option>
{% for ordine in ordini %} {% for ordine in ordini %}
<option value="{{ ordine.oid }}" {% if dispositivo and ordine.oid == dispositivo.oid %}selected{% endif %}>{{ ordine.data }} #{{ ordine.numero_ordine }}</option> <option value="{{ ordine.oid }}" {% if dispositivo and ordine.oid == dispositivo.oid %}selected{% endif %}>{{ ordine.data }} {{ ordine.fornitore }} #{{ ordine.numero_ordine }}</option>
{% endfor %} {% endfor %}
</select> </select>
</div> </div>