Could you help me?, I want month and year from start date in salary slip for showing in Header part in print format
Sorry, I want Month name and Current Year like below image
Hi @Eranna,
Please apply it.
<b style="text-transform: uppercase;"> Salary Slip of
{{ frappe.utils.get_datetime(doc.start_date).strftime('%B - %Y') }}
</b>
Output:
Thank You!
1 Like