fix: Party name in Supplier Portal for Purchase Order

This commit is contained in:
ljain112
2025-02-06 18:37:22 +05:30
parent 54a8d41f88
commit fc8663421b

View File

@@ -72,8 +72,7 @@
</span>
</div>
<div class="text-right col-2">
{%- set party_name = doc.supplier_name if doc.doctype in ['Supplier Quotation', 'Purchase Invoice', 'Purchase
Order'] else doc.customer_name %}
{%- set party_name = doc.supplier_name if doc.doctype in ['Supplier Quotation', 'Purchase Invoice', 'Purchase Order'] else doc.customer_name %}
<b>{{ party_name }}</b>
{% if doc.contact_display and doc.contact_display != party_name %}