VAT number on invoice

  • Posts: 235
  • Thank you received: 4
9 years 1 week ago #220758

-- url of the page with the problem -- : www.modustem.nl
-- HikaShop version -- : 2.6.0
-- Joomla version -- : 3.4.5
-- PHP version -- : 5.6
-- Browser(s) name and version -- : all
-- Error-message(debug-mod must be tuned on) -- : -

Hi,

We want to add VAT number on the invoice. We've found this topic:

www.hikashop.com/forum/2-general-talk-ab...mber-on-invoice.html

and add this to the view 'order - invoice':

<label>
<?php echo JText::_( 'VAT' ); ?>
</label>
<?php echo $this->order->customer->address_vat; ?>

We get the word 'VAT' on the invoice, but no number.

What's going wrong?

Jan

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

  • Posts: 13201
  • Thank you received: 2322
9 years 1 week ago #220785

Hi,

The code you have to use is:

<?php echo $this->order->billing_address->address_vat; ?>

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

Time to create page: 0.063 seconds
Powered by Kunena Forum