How to get HTML type field on Print Format
{{ doc.custom_html_field | safe }}
not working
healthcare.healthcare.doctype.patient.patient.Patient object[‘age_html’] }} }}
{{ doc.age_html | safe }}
not working this
@Manish_Kumar Please check this reference of sales invoice address data fetch using like this example
<p class="uppercase">Address : {{frappe.db.get_value('Address',doc.customer_address,'address_line1') or ''}}
{{frappe.db.get_value('Address',doc.customer_address,'address_line2') or ''}}<br>
{{frappe.db.get_value('Address',doc.customer_address,'city') or ''}}, {{frappe.db.get_value('Address',doc.customer_address,'state') or ''}}-{{frappe.db.get_value('Address',doc.customer_address,'pincode') or ''}},
{{frappe.db.get_value('Address',doc.customer_address,'country') or ''}}</p>
<p><b>GSTIN:</b>{{frappe.db.get_value('Address',doc.customer_address,'gstin') or ''}}</p>
get html field type in print format
@Manish_Kumar you cannot add HTML field data direct into print format like my example you can fetch data in print format