Page 2 of 2 FirstFirst 12
Results 16 to 30 of 30

Thread: How to add automatic notes to invoices

  1. #16
    Join Date
    Feb 2008
    Posts
    30

    Default

    Quote Originally Posted by Lib-Design View Post
    Hi
    do you mean add it to the PDF? or the basic invoice template?

    You could edit pdfconfig.php add a few Write() lines in if you want to add a perminate note there (company terms for example)

    Or

    the invoice template in your skins folder you could add some information there.

    If im barking up the wrong tree and thats nothing like you ment. sorry
    I tried this but unfortunatelly nothing happend.

    Thanks.

  2. #17
    Join Date
    Jun 2009
    Location
    Sammamish, WA
    Posts
    42

    Default

    FYI - the pdf invoice template is now located in the active template folder.
    e.g. /templates/default/invoicepdf.tpl

  3. #18
    Join Date
    Aug 2006
    Location
    Johannesburg, South Africa
    Posts
    1,024

    Default

    The easier way around this problem is to add the noted to the invoice email template

  4. #19
    Join Date
    Feb 2008
    Posts
    141

    Default

    If some people are interested, I can look to create an addon to do this... Just send me a PM ;-)
    EquiPC
    WebHosting Solutions
    http://www.equipc.net

  5. #20
    Join Date
    May 2009
    Posts
    2

    Default

    Quote Originally Posted by HostRW View Post
    It doesn't sound like a professional program if you will need to edit templates to add in a message for a few days... There just has to be an option in the program to do that.
    I am speaking about temporary messages (which one might want to change every few days), not about permanent one off additions (which would be no problem changing it in the templates).
    Think about quickly adding a special server offer to every invoice for a week. If you have to go and edit the templates, that's way to much bother.
    First you have to know exactly which template to edit, you have to figure out how to get things on the right place, and if you mess up the whole template doesn't work...

    I think this just has to be added as a feature!!!
    Just a thought, if you wanted to change a message every few days on more than one type of invoice, couldn't you insert a php include into the different files? then whenever you want to change the message you just need to edit one php file to change them all.
    Im not sure if this would work with whmcs or the emails tho

    Joe

  6. #21
    Join Date
    Jul 2009
    Posts
    30

    Default

    Thank you dutchnet !!!

    GM

  7. #22
    Join Date
    Jul 2008
    Location
    Northumberland, UK
    Posts
    2,774

    Default

    Quote Originally Posted by texhead View Post
    I agree.
    I need to add basic company information such as ABN (Australian Business Number) and other references required by law here in Australia.

    Not sure if this is catered for in the current system.

    Good morning,
    My name is Tony,
    I am a Noob!

    Kind regards
    Tony
    HI simple do what i did for my VAT reg in the UK

    goto your admin area, setup, general setting and in the pay to text area, where you have your business name and address, just add your ABN etc under your address, this will then display in all invoices and pdf invoices.

  8. #23
    Join Date
    Sep 2010
    Posts
    1

    Default

    thanks for the great tips....i need to read this forum during the weekend

  9. #24
    Join Date
    Oct 2010
    Posts
    1

    Default

    Hi,

    I don't find the pdfconfig.php file in "includes" folder. I have the 4.3.1 version of WHMCS.

    Where i can find this file?

    Thanks,
    Copilu_cc

  10. #25
    Join Date
    Sep 2008
    Location
    /home/australia/earth
    Posts
    521

    Default

    Quote Originally Posted by copilu_cc View Post
    I don't find the pdfconfig.php file in "includes" folder. I have the 4.3.1 version of WHMCS.

    Where i can find this file?
    http://wiki.whmcs.com/PDF_Invoice
    - David

  11. #26
    Join Date
    Aug 2010
    Posts
    2

    Default

    This is ridiculously difficult.

    I've edited the invoicepdf.tpl file but when I create a test order I get a blank page.

    Are there any addons/hacks to make this simpler?

  12. #27
    Join Date
    Jan 2012
    Posts
    1

    Default

    Quote Originally Posted by dutchnet View Post
    It's easy to change the layout in includes/pdfconfig.php
    Weird. There's no such file anywhere on v 4.5.2

  13. #28
    Join Date
    Oct 2006
    Posts
    3,100

    Default

    Quote Originally Posted by e-stonia View Post
    Weird. There's no such file anywhere on v 4.5.2
    This is an old thread, which predates that version. In 4.5.2, I believe it was "includes\tcpdf.php"

  14. #29
    Join Date
    Nov 2009
    Location
    Salford UK
    Posts
    77

    Default

    Quote Originally Posted by bear View Post
    This is an old thread, which predates that version. In 4.5.2, I believe it was "includes\tcpdf.php"
    Does that still apply to the new version of whmcs or has that changed again?
    Umbrella Host Fast, Affordable and Reliable UK Web Hosting
    FREE Web Hosting + .co.uk Domain & Business Web Hosting
    VPS Cloud Hosting, UK Dedicated Servers, Magento Hosting, Reseller Hosting
    Manchester Web Host Contact: [email protected] Phone: +44 (0)844 585 6005

  15. #30
    Join Date
    Oct 2012
    Location
    United States
    Posts
    99

    Default Re: How to add automatic notes to invoices

    Quote Originally Posted by Manchester Web Hosting View Post
    Does that still apply to the new version of whmcs or has that changed again?
    The file is still there, but I everything is controlled by the invoicepdf in active templates directory.
    MemoryX2
    Web Hosting | Reseller Hosting | SSL Certificates | Web Design | WHMCS Services | Domain Registration
    http://www.MemoryX2.com

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Add automatic notes when generating invoices
    By joaquimsa in forum Customisation & Integration Questions
    Replies: 0
    Last Post: 04-22-10, 10:37 AM
  2. Notes merge field for Invoices?
    By eger in forum Feature Requests
    Replies: 3
    Last Post: 04-16-10, 02:16 AM
  3. Global Notes on Invoices
    By oceanic in forum Feature Requests
    Replies: 2
    Last Post: 11-29-08, 04:34 PM