Finding Information for changing print format

28 views
Skip to first unread message

John Wellar

unread,
May 14, 2014, 1:56:11 AM5/14/14
to erpnext-dev...@googlegroups.com
I need print change the printing of the Address so that City State Pincode  in one  line. I see that this is controlled by the line below.  Where do I find the script replace_newlines and the specs of the table 

<td><script>replace_newlines(doc.address_display)</script></td>
Thanks John

Rushabh Mehta

unread,
May 14, 2014, 12:14:41 PM5/14/14
to erpnext-dev...@googlegroups.com
I need print change the printing of the Address so that City State Pincode  in one  line. I see that this is controlled by the line below.  Where do I find the script replace_newlines and the specs of the table 



For the specific table, check the Print Format via Setup > Printing > Print Format

<td><script>replace_newlines(doc.address_display)</script></td>
Thanks John

--
Note:
 
If you are posting an issue,
1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
 
End of Note
---
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/38795153-4861-443a-8170-f7667660a906%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages