How to set frappe get doc for customer in payment entry

{% set c = frappe.get_doc(“Customer”, doc.customer) %}

if i use this on Sales invoice its work perfectly

but when i set it on payment entry i am not able to make it work
i have tryied this but its not working
{% set c = frappe.get_doc(“Party”, doc.party) %}

@Dany_Carvalheiro

{% set c = frappe.get_doc("Customer", doc.party) %}

Or

{% set c = frappe.get_doc(doc.party_type, doc.party) %}
1 Like

thank you very much

it’s giving me error.
SyntaxError: Unexpected token %