Vat Invoice

  • Posts: 89
  • Thank you received: 1
11 years 9 months ago #86931

HI,

Why does not appear in the invoice the VAT,

even if the user entered?

Thanks
Fabio


Configuration:
Joomla: 2.5.9
Hikashop: 2.1.1
Hikamarket: 1.1.2

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

  • Posts: 12953
  • Thank you received: 1778
11 years 9 months ago #86971

Hello Fabio,

If you have any problem with something in the invoice the solution would be to edit the "invoice" file of the "order" view through "Hikashop->Display->Views".

Did you already changed it ?

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

  • Posts: 89
  • Thank you received: 1
11 years 9 months ago #87026

Hi

I guessed.
how can I display in the invoice the VAT to the customer?

Thanks
Fabio


Configuration:
Joomla: 2.5.9
Hikashop: 2.1.1
Hikamarket: 1.1.2

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

  • Posts: 12953
  • Thank you received: 1778
11 years 9 months ago #87099

Firstly, if you have made any change to this file can you revert them through the "remove" button ?

The part of the code that is displaying the VAT amout is :

<?php $taxes = $this->order->order_subtotal-$this->order->order_subtotal_no_vat+$this->order->order_shipping_tax-$this->order->order_discount_tax;
                if($taxes != 0){
                  if($this->config->get('detailed_tax_display') && !empty($this->order->order_tax_info)){
                    foreach($this->order->order_tax_info as $tax){ ?>
                    <tr>
                      <td colspan="2">
                      </td>
                      <td class="hikashop_order_tax_title key">
                        <label>
                          <?php echo $tax->tax_namekey; ?>
                        </label>
                      </td>
                      <td class="hikashop_order_tax_value">
                        <?php echo $this->currencyHelper->format($tax->tax_amount,$this->order->order_currency_id); ?>
                      </td>
                    </tr>
                  <?php
                    }
                        }else{ ?>
                    <tr>
                      <td colspan="2">
                      </td>
                      <td class="hikashop_order_tax_title key">
                        <label>
                          <?php echo JText::_( 'VAT' ); ?>
                        </label>
                      </td>
                      <td class="hikashop_order_tax_value">
                        <?php echo $this->currencyHelper->format($taxes,$this->order->order_currency_id); ?>
                      </td>
                    </tr>

              <?php  }
                }

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

  • Posts: 89
  • Thank you received: 1
11 years 9 months ago #87101

Hi,

The VAT number does not appear in any place where there is the address of the customer.
Neither the invoice nor in the email that is sent

how do I put it?

thanks
Fabio


Configuration:
Joomla: 2.5.9
Hikashop: 2.1.1
Hikamarket: 1.1.2
Attachments:

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

  • Posts: 82796
  • Thank you received: 13357
  • MODERATOR
11 years 9 months ago #87260

Hi,

That is handled by the address_template view files that you can edit via the menu Display->Views. In these files, you need to add the tag for the address VAT number: {address_VAT} and the VAT number will display in the address.

The following user(s) said Thank You: insegnalo

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

Time to create page: 0.066 seconds
Powered by Kunena Forum