Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to Create custom invoice template
09-27-2012, 03:20 AM,
#1
How to Create custom invoice template
I run a pharmaceutical distribution company and I have to follow a particular format of invoicing. Can you please tell me how can I change the invoice format in webERP. The invoice format should Include.. Item Name, Price, Discount %, Net Amount and batch no.. and some other text paragraph related to legal requirement.
Reply
02-04-2013, 12:48 AM,
#2
RE: How to Create custom invoice template
I have problem in invoice template in weberp , i need to print serial number of goods in smaller font and more than one serial in one line , any one know how we can do it ?
Reply
02-04-2013, 05:48 AM,
#3
RE: How to Create custom invoice template
The scripts to create the invoice are
PrintCustTrans.php
or
PrintCustTransPortrait.php

They refer to :
includes/PDFTransPageHeader.inc
or
includes/PDFTransPageHeaderPortrait.inc

for the titles at the top of each page.
If you read the code of these scripts you should see that they make some sense and only require a rudimentary knowledge of PHP. You should be able to modify them to suit your needs or you could employ someone (me please :-) to make the modifications for you!
Phil Daintree
webERP Admin
Logic Works Ltd
http://www.logicworks.co.nz
Reply
01-03-2014, 11:40 AM, (This post was last modified: 01-03-2014, 11:48 AM by fernando_stm.)
#4
RE: How to Create custom invoice template
hello Phil.
Look, I reviewed the 4 script you mention below, and none of them see a way to change the word INVOICE in the pdf. I have also changed PrintCustTrans.php, PrintCustTransPortrait.php language module does not work. Any idea how to do this?.
Use the vesion 4.11.0. (Attached picture)

Thank..!


(02-04-2013, 05:48 AM)phil Wrote: The scripts to create the invoice are
PrintCustTrans.php
or
PrintCustTransPortrait.php

They refer to :
includes/PDFTransPageHeader.inc
or
includes/PDFTransPageHeaderPortrait.inc

for the titles at the top of each page.
If you read the code of these scripts you should see that they make some sense and only require a rudimentary knowledge of PHP. You should be able to modify them to suit your needs or you could employ someone (me please :-) to make the modifications for you!

Javier G.
Reply
01-03-2014, 01:08 PM,
#5
RE: How to Create custom invoice template
Hello Javier,

There is some documentation on translations and how to make them work at:

http://www.weberp.org/wiki/HowToTranslate

In includes/PDFTransPlageHeader.inc
See line 13/14

Code:
if ($InvOrCredit=='Invoice') {
    $pdf->addText($Page_Width/2 - 70, $YPos, $FontSize, _('TAX INVOICE') . ' ');

Just change the words TAX INVOICE to - JAVIER to see the effect.
Phil Daintree
webERP Admin
Logic Works Ltd
http://www.logicworks.co.nz
Reply
01-04-2014, 01:43 AM,
#6
RE: How to Create custom invoice template
Thank you very much Phil. Vere immediately theme.
Thank you ..!




(01-03-2014, 01:08 PM)phil Wrote: Hello Javier,

There is some documentation on translations and how to make them work at:

http://www.weberp.org/wiki/HowToTranslate

In includes/PDFTransPlageHeader.inc
See line 13/14

Code:
if ($InvOrCredit=='Invoice') {
    $pdf->addText($Page_Width/2 - 70, $YPos, $FontSize, _('TAX INVOICE') . ' ');

Just change the words TAX INVOICE to - JAVIER to see the effect.

Javier G.
Reply
03-16-2014, 12:02 AM, (This post was last modified: 03-22-2014, 10:46 PM by martacreighton.)
#7
RE: How to Create custom invoice template
You can set up your invoice template to include account balance information that is useful for creating statements. There are two fields that can be used to configure your invoices to show full statement information, including the previous account balance, and new balance based on the application of charges on the invoice.or you can take help of fetchflow.com simply signup http://www.fetchflow.com/Signup/PayPal .It's easy, simple and free.No time trial, no limitations, no pro version, no credit card
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)