Jump to content
  • 0

Invoice item Cost show tax included


Blesta Addons

Question

in invoices with tax enabled, the item cost is displaying the product price with tax included, we can't figure how to show it without tax, we need the tax to be included only in the total price,

Description		Quantity	Unit Price	Cost
--------------------------------------------------
Item Label		1			10			12
--------------------------------------------------
Item Label		1			20			24
--------------------------------------------------
							Subtotal 	30.00
							----------------------
							TVA (20%)	 6.00
							----------------------
							Total 		$36.00
							
					
							
							
we need to show it as like 

Description		Quantity	Unit Price	Cost
--------------------------------------------------
Item Label		1			10			10
--------------------------------------------------
Item Label		1			20			20
--------------------------------------------------
							Subtotal 	30.00
							----------------------
							TVA (20%)	 6.00
							----------------------
							Total 		$36.00

 

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

This is on the PDF invoice, correct? If so, I believe you want to change the invoice line item total to the invoice line item subtotal, i.e. (from /components/invoice_templates/default_invoice_pdf.php):

Find and change:

$this->invoice->line_items[$i]->total

to:

$this->invoice->line_items[$i]->subtotal

 

Link to comment
Share on other sites

  • 0
On 8/13/2018 at 7:24 PM, Tyson said:

This is on the PDF invoice, correct? If so, I believe you want to change the invoice line item total to the invoice line item subtotal, i.e. (from /components/invoice_templates/default_invoice_pdf.php):

Find and change:


$this->invoice->line_items[$i]->total

to:


$this->invoice->line_items[$i]->subtotal

 

thank it work .

On 8/13/2018 at 9:52 PM, Paul said:

Is this a legal issue in your area? If so, I wonder if we should make this a setting.

the taxman say if we show total with taxe we need to add tax value in the same line like

Description		Quantity	Unit Price	Taxe	Cost

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...