feat: provision to draft quotation from portal

This commit is contained in:
Anupam
2020-09-23 21:48:48 +05:30
parent 5c04b2eea4
commit c077fac2a6
5 changed files with 65 additions and 49 deletions

View File

@@ -14,7 +14,11 @@
</div>
</div>
<div class="col-sm-3 text-right bold">
{{ doc.get_formatted("grand_total") }}
{% if doc.doctype == "Quotation" and not doc.docstatus %}
{{ _("Pending For Approval") }}
{% else %}
{{ doc.get_formatted("grand_total") }}
{% endif %}
</div>
</div>
<a class="transaction-item-link" href="/{{ pathname }}/{{ doc.name }}">Link</a>