How to add submission info to footer

Hi,

I would like to add the following info to print footer.

Status: Open
Created: Smit (Need to add date and time here)
Last Modified: Smit (Need to add date and time here)
Submitted: Smit (Need to add date and time here)

I am able to do the following using HTML in letterhead footer

Status: {{doc.status}} <br>
Created: {{ frappe.get_fullname(doc.created_by) or "" }} <br>
Modified: {{ frappe.get_fullname(doc.modified_by) or "" }}   {{ doc.owner }} <br>
Submitted: {{ frappe.get_fullname(doc.submitted_by) or "" }}
1 Like