I’m working on custom print format and I wanted to get the custom footer to bottom of the page. I tried couple of ways but only “footer-html” was the solution.
if I use this footer-html the script doesn’t set the value for the biller_code but I remove this footer-html id it’s working fine. then the div is not the footer.
The footer HTML has preset styles using CSS, and there are specific methods applied to it. This causes issues when you try to add a custom ID for something else, as it affects the display.
If you’re using version 15 of ERPNext, there’s an awesome new feature called Print Designer. It lets you easily customize and create impressive print layouts. The app has a simple interface, so designing professional-quality prints is easy. You can use it for invoices, purchase orders, delivery notes, and more.
To learn more and try it out, check these links:
Print Designer App: A new way to design print formats [YouTube]:
I’m trying to move on with ERPNext 15 and print designer.
for the barcode value, I wanted to convert customer Id to some format and add amount to the end. so that format I wanted to run a script. is it possible to do with print designer?
I tried to use bellow but it’s giving me error with this Join.
{% set customer= (doc.customer).encode(‘ascii’)|list|join %}
{% set customer= (doc.customer).encode(‘ascii’)|list|join(‘’) %}
but if I use another separator link space, ‘|’ it’s working fine. also as you mentioned above if it’s in Jinja text it’s working fine. but I wanted to use it in Manage custom data section and pass it to another method. return value of the method if using couple of places, so I think it’s better to keep it common place.