VAT number on attached PDF invoice

  • Posts: 584
  • Thank you received: 22
  • Hikaserial Subscription Hikashop Multisite
7 years 3 weeks ago #266105

-- HikaShop version -- : 3.0.1
-- Joomla version -- : 3.6.5
-- PHP version -- : 7.0

Hi Hikashopteam,

I like to add the VAT number into the attached PDF invoice.

But I don't know how, I tried 3 different way's but none of them give the VAT number in the invoice.
Could you please give me a hint.



this are the 3 sort of codes I have tried:
<?php echo 'VAT ID Billing address: '.$oneAddress->address_vat; ?><br/>
<?php echo 'VAT ID Billing address: '.$addresses->address_vat; ?><br/>
<?php echo 'VAT ID Billing address: '.$address->address_vat; ?><br/>

Kind regards,
Lumiga


Kind regards,
Lumiga
Attachments:
Last edit: 7 years 3 weeks ago by Lumiga.

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

  • Posts: 81515
  • Thank you received: 13069
  • MODERATOR
7 years 3 weeks ago #266107

Hi,

None of these variables contain the address.
The address data is available in $order->billing_address or in $order->shipping_address

The following user(s) said Thank You: Lumiga

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

Time to create page: 0.063 seconds
Powered by Kunena Forum