Try ERPNext Try Frappe Cloud Buy Support Partners Foundation

Html print format

I created one custum html print format but i am facing one problem during printing.
Error:- Template not found at path…
Plz explain me how to solve it??

Please share your html code so that we can indentify the issue.

Hi @Kapil002 please make the effort to copy and paste your code here, in a nicely formatted code block. Nobody wants to type it off your photo to try it out. And if you do need to post a picture of your screen, i’d enjoy the quality of a screenshot instead of a photo :wink:

2 Likes
{%- if not doc.get("print_heading") and not doc.get("select_print_heading") and doc.set("select_print_heading", _("Purchase Order")) -%}{%- endif -%} {{ add_header(0, 1, doc, letter_head, no_letterhead, print_settings) }}

{%- for label, value in (
((“Item Name”), doc.item_name),
(
(“Material”), doc.material_name),
((“Rate”), doc.rate),
(
(“Address”), doc.address),

) -%}
<div class="row">
    <div class="col-xs-3"><label class="text-right">{{ label }}</label></div>
    <div class="col-xs-9">{{ value }}</div>
</div>

{%- endfor -%}
 <hr>
<br>

i need to print list name on print format,
How to get doc list name??