Alignment display invoice report

Hi Team,


1. I would like to create new report in sales Invoice. Please advise me how to create and where do i need to create? using source code…
2. I need to change alignment and display information positions so and so… hence request you to please… let me know how to design…using source code…

3. Round amount, when i have one item which price 150, then 5% discount, it is round 142.50, but round total coming into 143.00.

Thanks & Regards,
Govardhan Hazare



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 post to this group, send email to er...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/3VrvE29vissJ.

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

 

 

Hi Govardhan

I think what you want to do is create a Print Format

Go to Document (top bar - 2nd icon) > New > Print Format.
As an example, have a look at "Sales Invoice Classic/Modern/Spartan". It is done using code.

Rounded Total rounds the Grand Total to a whole number. You can hide the Rounded Total field and instead add a similar style to Grand Total, or for printing purposes, you can use flt(doc.grand_total_export, 2) to round grand total value to 2 decimal places and use it to display Round Total.

Thanks,
Anand.

On 17-Apr-2013, at 3:36 PM, Govardhan Hazare <go...@gmail.com> wrote:

Hi Team,

1. I would like to create new report in sales Invoice. Please advise me how to create and where do i need to create? using source code..
2. I need to change alignment and display information positions so and so.. hence request you to please.. let me know how to design..using source code..

3. Round amount, when i have one item which price 150, then 5% discount, it is round 142.50, but round total coming into 143.00.

Thanks & Regards,
Govardhan Hazare



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 post to this group, send email to er…@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/3VrvE29vissJ.

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

 

 

<roundTotal.JPG>




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 post to this group, send email to er...@googlegroups.com.

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