fix: material request and supplier quotation not linked if sq created from supplier portal against rfq

This commit is contained in:
Rohit Waghchaure
2021-06-11 17:27:08 +05:30
parent 2c30ad9465
commit b9fb2349d6
2 changed files with 17 additions and 13 deletions

View File

@@ -13,9 +13,11 @@
{{ doc.items_preview }}
</div>
</div>
<div class="col-sm-3 text-right bold">
{{ doc.get_formatted("grand_total") }}
</div>
{% if doc.get('grand_total') %}
<div class="col-sm-3 text-right bold">
{{ doc.get_formatted("grand_total") }}
</div>
{% endif %}
</div>
<a class="transaction-item-link" href="/{{ pathname }}/{{ doc.name }}">Link</a>
</div>