show transfers if there are transfer
This commit is contained in:
parent
01f2996c48
commit
dbd5645c94
|
@ -75,11 +75,13 @@
|
||||||
<button class="nav-link" data-bs-toggle="tab" data-bs-target="#trade-documents-list">Documents</button>
|
<button class="nav-link" data-bs-toggle="tab" data-bs-target="#trade-documents-list">Documents</button>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
{% if lot.transfer %}
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<button class="nav-link" data-bs-toggle="tab" data-bs-target="#edit-transfer">
|
<button class="nav-link" data-bs-toggle="tab" data-bs-target="#edit-transfer">
|
||||||
Transfer ({% if lot.transfer.closed %}Closed{% else %}Open{% endif %})
|
Transfer ({% if lot.transfer.closed %}Closed{% else %}Open{% endif %})
|
||||||
</button>
|
</button>
|
||||||
</li>
|
</li>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Reference in New Issue