show transfers if there are transfer

This commit is contained in:
Cayo Puigdefabregas 2022-05-31 16:28:38 +02:00
parent 01f2996c48
commit dbd5645c94
1 changed files with 2 additions and 0 deletions

View File

@ -75,11 +75,13 @@
<button class="nav-link" data-bs-toggle="tab" data-bs-target="#trade-documents-list">Documents</button>
</li>
{% if lot.transfer %}
<li class="nav-item">
<button class="nav-link" data-bs-toggle="tab" data-bs-target="#edit-transfer">
Transfer ({% if lot.transfer.closed %}Closed{% else %}Open{% endif %})
</button>
</li>
{% endif %}
</ul>
{% endif %}