Menu Content

Support

> Forums, FAQs & Paid Support
Welcome, Guest
Username Password: Remember me

Item row modification in invoice template
(1 viewing) (1) Guest
Support forum for customers who have purchased this product. Archive only, no new post can be added.

NOTE: This category has been locked. If you have purchased paid version, please, use our Support Ticket system instead. If you are using free edition, please see the Community Support section.
  • Page:
  • 1
  • 2

TOPIC: Item row modification in invoice template

Item row modification in invoice template 10 years, 1 month ago #42886

Hi,

As you can see in the attached image, I´d need to modify the Net Amount column, so it shows the price with no tax. The problem I find, is that if I substitute the subtotal tag for the price_notax then the last 3 figures disappear (total net, tax and total). Could you please tell me how to fix this?

Many thanks

Angel
Attachments:
The topic has been locked.

Re: Item row modification in invoice template 10 years, 1 month ago #42887

Hi There,

I have the same problem. I fixed the calculation (this has to be done with total net price en total tax) with this link But the total price shows including tax, must be ex. tax.

Hope someone can help us

Gr. Pieter
Attachments:
The topic has been locked.

Re: Item row modification in invoice template 10 years, 1 month ago #42895

  • pama
  • OFFLINE
  • Posts: 489
Hello. Unforunatelly, that's not easily supported by our component now.

You have to edit code manually.
1. First check if you can update to newest version (2.0.29). We will be releasing it in short time, so maybe it will be available when you are reading this.
2. open file administrator/components/com_vminvoice/helpers/invoicehtml.php
3. If using 2.0.29, on line 1616, if using 2.0.28 on line 1386 enter (its before $relevantCols line)
 
$subtotalTag = $subtotalTag2 = '{price_notax}'; //or any other tag which you use in last column
 


We are sorry it goes like that. We are thinking that we will improve whole template editing to be more flexible and simple in future.
ARTIO Support Team
Last Edit: 10 years, 1 month ago by pama.
The topic has been locked.

Re: Item row modification in invoice template 10 years, 1 month ago #42896

  • pama
  • OFFLINE
  • Posts: 489
For Poiter:
I don't know if it helped you either,
Also in new version 2.0.29 will be new item tag {subtotal_discounted} which means Items Subototal - items tax. I don't know if it is that you are looking for.
ARTIO Support Team
The topic has been locked.

Re: Item row modification in invoice template 10 years, 1 month ago #42897

Hi Pama,

Thank you! Now it's correct. Only the table row is changed. It looks it has 4 rows. See attached file

Gr. Pieter


invoice_header.png
Last Edit: 10 years, 1 month ago by Poiter.
The topic has been locked.

Re: Item row modification in invoice template 10 years, 1 month ago #42907

Hi,
Thanks for your quick reply. I have updated to the 2.0.29 and I have substituted the last row tag for the subtotal_discounted, it works fine except for the last line that doesn´t add up the tax as you can see in the image.

Hope to get this fixed as the invoices can´t be made properly.

Angel
Attachments:
The topic has been locked.
  • Page:
  • 1
  • 2
User Login Empty