fix
This commit is contained in:
parent
f8f1276313
commit
e1e38015ee
|
@ -41,9 +41,9 @@
|
||||||
<h3>
|
<h3>
|
||||||
<a href="{{ url_for('inventory.lot_edit', id=lot.id) }}">{{ lot.name }}</a>
|
<a href="{{ url_for('inventory.lot_edit', id=lot.id) }}">{{ lot.name }}</a>
|
||||||
</h3>
|
</h3>
|
||||||
{% if lot.transfer.code and lot.transfer.user_to.phantom %}
|
{% if lot.transfer.code and not lot.transfer.user_to.phantom %}
|
||||||
<span>{{ lot.transfer.code }} -> {{ lot.transfer.user_to.email }}</span>
|
<span>{{ lot.transfer.code }} -> {{ lot.transfer.user_to.email }}</span>
|
||||||
{% elif lot.transfer.code and lot.transfer.user_from.phantom %}
|
{% elif lot.transfer.code and not lot.transfer.user_from.phantom %}
|
||||||
<span>{{ lot.transfer.user_from.email }} -> {{ lot.transfer.code }}</span>
|
<span>{{ lot.transfer.user_from.email }} -> {{ lot.transfer.code }}</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
|
Reference in New Issue