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>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="text-right col-2">
|
<div class="text-right col-2">
|
||||||
{%- set party_name = doc.supplier_name if doc.doctype in ['Supplier Quotation', 'Purchase Invoice', 'Purchase
|
{%- set party_name = doc.supplier_name if doc.doctype in ['Supplier Quotation', 'Purchase Invoice', 'Purchase Order'] else doc.customer_name %}
|
||||||
Order'] else doc.customer_name %}
|
|
||||||
<b>{{ party_name }}</b>
|
<b>{{ party_name }}</b>
|
||||||
|
|
||||||
{% if doc.contact_display and doc.contact_display != party_name %}
|
{% if doc.contact_display and doc.contact_display != party_name %}
|
||||||
|
|||||||
Reference in New Issue
Block a user