fix: Party name in Supplier Portal for Purchase Order
(cherry picked from commit fc8663421b)
Co-authored-by: ljain112 <ljain112@gmail.com>
This commit is contained in:
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user