which view correspond to the shipping invoice?

  • Posts: 86
  • Thank you received: 2
11 years 3 weeks ago #131237

Hi,

I want do modify the shipping invoice (removing tax and price). Which view to I have to modify.
I was not able to find it.

Thank you!

Last edit: 11 years 3 weeks ago by scharfet.

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

  • Posts: 13201
  • Thank you received: 2322
11 years 3 weeks ago #131252

Hi,

You have to edit the view "order / invoice" in the backend template via the menu display > views

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

  • Posts: 86
  • Thank you received: 2
11 years 3 weeks ago #131352

Thank you Xavier.

I was not aware that invoice and shipping invoice shared the same view.

In case someone wuld llike to know how to do it.
In order to deactivate a column in shipping invoice it is necesary to add a php code to all correspondent th and td tags you wanted to dissappear.

Example:
Original:

<th class="title iva" style=" border: none ">
     <?php echo JText::_('VAT'); ?>
</th>

Changed to:
<?php if($this->invoice_type=='full'){?> 
     <th class="title iva" style=" border: none ">
          <?php echo JText::_('VAT'); ?>
     </th>
<?php } ?>

Last edit: 11 years 3 weeks ago by scharfet.
The following user(s) said Thank You: Mohamed Thelji

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

Time to create page: 0.070 seconds
Powered by Kunena Forum