Report print format frappe.db.get_value doesn't work

I am trying to show supplier details info on starting of the report print format… I can’t get data frappe.db.get_value

{% set phone = frappe.db.get_value("Supplier", {"supplier_name": filters.party_name}, 'custom_primary_phone') %}
<p style="font-family: monospace;">
    {{ phone }}
</p>

Is it my code correct?
please help me…

Thanks
Samsul

{% set phone = frappe.db.get_value("Supplier", doc.party_name, 'custom_primary_phone') %}

Actually this is a report print format. I got filters data from report filters

@Samsul oh in this this case you cane preload the data from the python code . you can add data to each rows despite they do not appear in columns list .

That’s a good idea…

Thank you so much