webERP Forum

Full Version: How to Create custom invoice template
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.
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 ?
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!
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!
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.
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.
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
Reference URL's