Jump to content
Sign in to follow this  
mbeerden

VAT number on invoice

Recommended Posts

Hello,

 

I've got the OSC 2.2 RCA 2 installed. with the addon :

<!--BOF for VAT INTRACOM_v3.3 //-->

This module gives customers the possibility to register a company name and a VAT number.

 

Now i want to show the company name and the VAT number on the invoice. the data can be found in the ORDERS table and are called: billing_company and billing_tva_intracom

 

My php knowledge is not superb. i've tried to put in somethink like below:

 

<?php echo BILLING_TVA_INTRACOM; ?>

 

or

 

<?php echo $order->customer['TVA_INTRACOM']; ?>

or

 

<?php echo $order->TVA['INTRACOM']; ?>

 

But these codes won't give a result on my invoice page. Can anyone explain me how to show the company name and VAT number on my invoices?

Share this post


Link to post
Share on other sites

Can anyone help me ?

 

I want to echo (appear) the ENTRY_COMPANY_TAX_ID on order e-mail submited.

 

I tried to find the correct var by typing

 

<td class="main"><b><?php echo ENTRY_COMPANY_TAX_ID; ?></b></td>

<td class="main"><?php echo $order->customer['entry_company_tax_id']; ?></td>

 

but with no success..

 

anyone help please??

Share this post


Link to post
Share on other sites

Apart from adding the code to display the information, have you also added an sql query to get the information from the database.


REMEMBER BACKUP, BACKUP AND BACKUP

Get the latest Responsive osCommerce CE (community edition) here

It's very easy to over complicate what are simple things in life

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×