PDF Invoice?

Discussion in 'Templates customization' started by cobramarv, Sep 8, 2006.

  1. cobramarv

    cobramarv New Member

    Joined:
    Sep 4, 2006
    Messages:
    1
    Is there any way to customize the PDF Invoice?
  2. stevenjohn

    stevenjohn Member

    Joined:
    Nov 9, 2006
    Messages:
    40
    Customing the PDF

    Hi there,

    Be useful to know how to do this - I couldn't see an obvious template, how do we get into the pdf creation engine?

    Thanks, Steve
  3. stevenjohn

    stevenjohn Member

    Joined:
    Nov 9, 2006
    Messages:
    40
    any chance of an update on this? Thanks.
  4. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    you can change file
    amember/templates/mail_recipt.pdf.txt
    to change basic layout.
  5. stevenjohn

    stevenjohn Member

    Joined:
    Nov 9, 2006
    Messages:
    40
    Hey Alex,

    I tried changing items - but found it seemed to generally hang the pdf generation process after making changes.

    Also this isnt the main template, for instance if you want to put logo's into the head etc?

    One thing that is important for us is to be able to add the client company name into the invoice - so I guess I need to add a custom field and then add that into the pdf invoice - how do you work out the variable to be used in the pdf template?

    With the PDF template, I dont know if you based it on a standard pdf export php script, but if you did could you point us to it so we can see what scope we have for improving the look/feel etc?

    Many thanks, Steve.
  6. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    Steve, we will add this to manual soon.
  7. erikcw

    erikcw New Member

    Joined:
    Nov 15, 2004
    Messages:
    54
    I'm having the same problem. Could you put the "first draft" of the new manual chapter on the forum so we can change this? It's tax time and I have customers clamoring for some modifications to the invoice for their accountants.
  8. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
  9. deafdavid

    deafdavid Member

    Joined:
    Aug 28, 2006
    Messages:
    153
    Alex, per http://manual.amember.com/PDF_Invoice_Customization

    I'm unable to find /amember/templates/mail_receipt_contact.pdf.txt
    you can use {$u} - an array with user's info ;

    I still need to change the layout in invoice.pdf -- the member's city, state, and country are not in right place.

    And How do I get our logo on the upper right of invoice?

    Thanks.
  10. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    These templates should be there please check again.
    What amember version you have?
    In regards to logo, upload your logo to /amember/logo.jpg
  11. deafdavid

    deafdavid Member

    Joined:
    Aug 28, 2006
    Messages:
    153
    I checked again and it's not there (we moved from one host to another). It may have got lost during the transfer.

    I'm using 3.0.3.

    the logo is already in /amember/logo.jpg -- I know it was mentioned that it'll automatic inserted into pdf. But it was not working so I think I did something wrong here.
  12. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    Yes you right there is no such template in your version of script.
    This can be done in php file only.
    Please contact as in helpdesk I will help.
  13. mdelacruz

    mdelacruz New Member

    Joined:
    Apr 15, 2004
    Messages:
    26
    Billing company

    Hi guys,

    Anybody knows if it't possible to show the Billing Company in the PDF receipt? I couldn't find the correct value.

    Thanks.
  14. dnsstuff

    dnsstuff aMember Pro Customer

    Joined:
    Nov 6, 2006
    Messages:
    4
    Mario,

    Have you gotten an answer to this question yet?

    Thanks,
    Don.

Share This Page