10RUPTiV Posted January 15, 2014 Report Posted January 15, 2014 Don't know about other region, but here in QC/CA We need to display the total of an item (1 line) without the taxes. For example, Description Qte Unit Price Cost something 2 100.00 (here it need to be 200.00$ and not 2x100 + taxes) Is it something we can change our self or it's in the core ? Quote
0 Tyson Posted January 15, 2014 Report Posted January 15, 2014 Tax can be added on a per line-item basis, so some line items may or may not have tax applied for a given invoice, and it wouldn't be known which item is taxed without the line item cost including tax. Nonetheless, you can change this by updating the file that generates the PDF. This is a core file change. You didn't mention which version of Blesta you're running, so I'll assume v3.1.0-b2. Update /components/invoice_templates/default_invoice/default_invoice_pdf.php if you're using the default invoice template (as opposed to the quickbooks one): 'price'=>$this->CurrencyFormat->format($this->invoice->line_items[$i]->total, $this->invoice->currency, self::$standard_num_options), to 'price'=>$this->CurrencyFormat->format($this->invoice->line_items[$i]->subtotal, $this->invoice->currency, self::$standard_num_options), Quote
0 10RUPTiV Posted January 15, 2014 Author Report Posted January 15, 2014 Sorry Tyson, I'm using 3.0 (latest version) but I found the equivalent line (240) Is it safe to upgrade to 3.1 for production ? Quote
0 Paul Posted January 15, 2014 Report Posted January 15, 2014 Is it safe to upgrade to 3.1 for production ? I would wait for the final release to upgrade to 3.1. It's actually in QA now, so it may be released tomorrow. Quote
0 Infralliance Posted March 25, 2015 Report Posted March 25, 2015 Merci @PointPubMedia 10RUPTiV 1 Quote
Question
10RUPTiV
Don't know about other region, but here in QC/CA
We need to display the total of an item (1 line) without the taxes.
For example,
Description Qte Unit Price Cost
something 2 100.00 (here it need to be 200.00$ and not 2x100 + taxes)
Is it something we can change our self or it's in the core ?
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.