Invoice template

  • Irene
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
10 years 2 months ago - 10 years 2 months ago #75113 by Irene
Invoice template was created by Irene
Hi guys

Am I supposed to see some html on the Invoice Setting tab in the Invoice Format? As per your Invoice Integration (see attachment) As there is nothing there that I can adjust.

Is there some html available that I can add to the Invoice Format - I'm useless at coding :laugh:

Cheers
Irene
Last edit: 10 years 2 months ago by Irene.

Please Log in or Create an account to join the conversation.

More
10 years 2 months ago #75115 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Invoice template
Yes

You can try to use this HTML code, it should be available when you install the extension
Code:
<table border="0" width="100%" cellspacing="0" cellpadding="2"> <tbody> <tr> <td align="left" width="100%"> <table border="0" width="100%" cellspacing="0" cellpadding="2"> <tbody> <tr> <td width="100%"> <table style="width: 100%;" border="0" cellspacing="0" cellpadding="2"> <tbody> <tr> <td align="left" valign="top" width="50%"> <table style="width: 100%;" border="0" cellspacing="0" cellpadding="2"> <tbody> <tr> <td align="left" width="50%">Company Name:</td> <td align="left">Ossolution Team</td> </tr> <tr> <td align="left" width="50%">URL:</td> <td align="left">http://www.joomdonation.com</td> </tr> <tr> <td align="left" width="50%">Phone:</td> <td align="left">84-972409994</td> </tr> <tr> <td align="left" width="50%">E-mail:</td> <td align="left">contact@joomdonation.com</td> </tr> <tr> <td align="left" width="50%">Address:</td> <td align="left">Lang Ha - Ba Dinh - Ha Noi</td> </tr> </tbody> </table> </td> <td align="right" valign="middle" width="50%"><img style="border: 0;" src="media/com_eventbooking/invoice_logo.png" alt="" /></td> </tr> <tr> <td colspan="2" align="left" width="100%"> <table style="width: 100%;" border="0" cellspacing="0" cellpadding="2"> <tbody> <tr> <td align="left" valign="top" width="50%"> <table style="width: 100%;" border="0" cellspacing="0" cellpadding="2"> <tbody> <tr> <td style="background-color: #d6d6d6;" colspan="2" align="left"> <h4 style="margin: 0px;">Customer Information</h4> </td> </tr> <tr> <td align="left" width="50%">Name:</td> <td align="left">[NAME]</td> </tr> <tr> <td align="left" width="50%">Company:</td> <td align="left">[ORGANIZATION]</td> </tr> <tr> <td align="left" width="50%">Phone:</td> <td align="left">[PHONE]</td> </tr> <tr> <td align="left" width="50%">Email:</td> <td align="left">[EMAIL]</td> </tr> <tr> <td align="left" width="50%">Address:</td> <td align="left">[ADDRESS], [CITY], [STATE], [COUNTRY]</td> </tr> </tbody> </table> </td> <td align="left" valign="top" width="50%"> <table style="width: 100%;" border="0" cellspacing="0" cellpadding="2"> <tbody> <tr> <td style="background-color: #d6d6d6;" colspan="2" align="left"> <h4 style="margin: 0px;">Invoice Information</h4> </td> </tr> <tr> <td align="left" width="50%">Invoice Number:</td> <td align="left">[INVOICE_NUMBER]</td> </tr> <tr> <td align="left" width="50%">Invoice Date:</td> <td align="left">[INVOICE_DATE]</td> </tr> <tr> <td align="left" width="50%">Invoice Status:</td> <td align="left">[INVOICE_STATUS]</td> </tr> </tbody> </table> </td> </tr> </tbody> </table> </td> </tr> <tr> <td style="background-color: #d6d6d6;" colspan="2" align="left"> <h4 style="margin: 0px;">Order Items</h4> </td> </tr> <tr> <td colspan="2" align="left" width="100%"> <table border="0" width="100%" cellspacing="0" cellpadding="2"> <tbody> <tr> <td align="left" valign="top" width="10%">#</td> <td align="left" valign="top" width="60%">Name</td> <td align="right" valign="top" width="20%">Price</td> <td align="left" valign="top" width="10%">Sub Total</td> </tr> <tr> <td align="left" valign="top" width="10%">1</td> <td align="left" valign="top" width="60%">[ITEM_NAME]</td> <td align="right" valign="top" width="20%">[ITEM_AMOUNT]</td> <td align="left" valign="top" width="10%">[ITEM_SUB_TOTAL]</td> </tr> <tr> <td colspan="3" align="right" valign="top" width="90%">Discount :</td> <td align="left" valign="top" width="10%">[DISCOUNT_AMOUNT]</td> </tr> <tr> <td colspan="3" align="right" valign="top" width="90%">Subtotal :</td> <td align="left" valign="top" width="10%">[SUB_TOTAL]</td> </tr> <tr> <td colspan="3" align="right" valign="top" width="90%">Tax :</td> <td align="left" valign="top" width="10%">[TAX_AMOUNT]</td> </tr> <tr> <td colspan="3" align="right" valign="top" width="90%">Total :</td> <td align="left" valign="top" width="10%">[TOTAL_AMOUNT]</td> </tr> </tbody> </table> </td> </tr> </tbody> </table> </td> </tr> </tbody> </table> </td> </tr> </tbody> </table>

Please Log in or Create an account to join the conversation.

  • Irene
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
10 years 2 months ago #75148 by Irene
Replied by Irene on topic Invoice template
Thanks Tuan - it wasn't there.

Where should I have been able to see it?

Please Log in or Create an account to join the conversation.

More
10 years 2 months ago #75234 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Invoice template
Go to Events Booking -> Configuration, look at Invoice Settings tab, you should see that invoice layout. I don't know why it was not generated when you install the extension as it works well for me and other customers

Will need to check it further myself if there is other customers report it. For now, please use the provided HTML code for invoice layout

Tuan

Please Log in or Create an account to join the conversation.

More
10 years 1 month ago #76018 by Simon Shaw
Replied by Simon Shaw on topic Invoice template
I had the same issue. Do you have the HTML invoice template for the cart invoice as well.

Note that after using the html for the invoice I got the issue with tcpdf reported in other threads - don't know whether this is related?

Please Log in or Create an account to join the conversation.

More
10 years 1 month ago #76976 by Vit
Replied by Vit on topic Invoice template
It wasn't in my installation either. Thank you for posting HTML code here. It's fine now.

Please Log in or Create an account to join the conversation.

More
10 years 1 month ago - 10 years 1 month ago #76979 by Vit
Replied by Vit on topic Invoice template

One more point. PDF generator doesn't work correctly with UTF8. Letters: ěšřžč See attachement. It would be nice to correct it.
The plugin itself works well. See: www.cesles.cz/akce-cls
Last edit: 10 years 1 month ago by Vit.

Please Log in or Create an account to join the conversation.

More
10 years 1 month ago #77042 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Invoice template
Hi

For this issue, we will need to add a new font to the tcpdf library and edit the code a bit. Please submit a support ticket sending us super admin account of your site so that we can help you with the modification to solve the issue

Tuan

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc