Modify Salary Slip print format

With reference to this live chat conversation, I need help to modify my salary slip format. Please help how can I copy the standard format salary slip HTML. Thanks.

Web Notes Support:
rearranging fields in the standard form is not possible
Raja:
What other option I have to get a desired printout?
Web Notes Support:
you can create custom print format and set layout as per your requirement.
Web Notes Support:
check Setup >> Printing >> Print Formats
Web Notes Support:
you can copy HTML of existing print format and make new as per your requirement.
Raja:
I tried to do so but unable to find "salary slip" print format for me to copy the HTML
Web Notes Support:
please report this issue on forum.



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-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/c16d0824-e7ff-47b9-9972-ccce98886f66%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.
Check https://github.com/frappe/erpnext/blob/master/erpnext/hr/doctype/salary_slip/salary_slip.py#L187

On 07-May-2014, at 4:01 pm, Rajendren Subramaniam <ra...@visionresearch.com.my> wrote:

With reference to this live chat conversation, I need help to modify my salary slip format. Please help how can I copy the standard format salary slip HTML. Thanks.

Web Notes Support:
rearranging fields in the standard form is not possible
Raja:
What other option I have to get a desired printout?
Web Notes Support:
you can create custom print format and set layout as per your requirement.
Web Notes Support:
check Setup >> Printing >> Print Formats
Web Notes Support:
you can copy HTML of existing print format and make new as per your requirement.
Raja:
I tried to do so but unable to find "salary slip" print format for me to copy the HTML
Web Notes Support:
please report this issue on forum.



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-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/c16d0824-e7ff-47b9-9972-ccce98886f66%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.



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-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/406A5625-E03B-4849-A945-D99EE81DAD23%40gmail.com.

    For more options, visit https://groups.google.com/d/optout.
Hi, Thanks for the quick response but it is not working. I just copied and pasted inside the HTML box. Is there anything else i need to do?



On Thursday, 8 May 2014 01:59:43 UTC+8, Nabin Hait wrote:
Check https://github.com/frappe/erpnext/blob/master/erpnext/hr/doctype/salary_slip/salary_slip.py#L187

On 07-May-2014, at 4:01 pm, Rajendren Subramaniam <ra...@visionresearch.com.my> wrote:

With reference to this live chat conversation, I need help to modify my salary slip format. Please help how can I copy the standard format salary slip HTML. Thanks.

Web Notes Support:
rearranging fields in the standard form is not possible
Raja:
What other option I have to get a desired printout?
Web Notes Support:
you can create custom print format and set layout as per your requirement.
Web Notes Support:
check Setup >> Printing >> Print Formats
Web Notes Support:
you can copy HTML of existing print format and make new as per your requirement.
Raja:
I tried to do so but unable to find "salary slip" print format for me to copy the HTML
Web Notes Support:
please report this issue on forum.



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-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/c16d0824-e7ff-47b9-9972-ccce98886f66%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.



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-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/0b4dfd26-6c76-4760-a84b-6d243ef4a319%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.
The code I referred is used in outgoing email on submission of salary slip. There is no existing print format for salary slip apart from standard. Salary slip print format is in our todo list, but we need sometime to build it.

In case of urgency, you can tag some bounty in github issue or create your own customised print format (referring print formats for other documents). If you do not have expertise in html, there are some developers in the forum, who can help you to make the print format. 


On 08-May-2014, at 7:50 am, Rajendren Subramaniam <ra...@visionresearch.com.my> wrote:

With reference to this live chat conversation, I need help to modify my salary slip format. Please help how can I copy the standard format salary slip HTML. Thanks.



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-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/E7374FDF-0713-4254-AC23-E3EA1B960786%40gmail.com.

    For more options, visit https://groups.google.com/d/optout.