<div dir="ltr">Hi Alan,<div><br></div><div>thnx for bug info.. I think this was an issue in 5.4 version also?</div><div><br></div><div>regarding PDF Maker.. I think all logic in vtiger is towards wholesale business model and what I need is retail logic...</div><div><br></div><div>retail customers are not interested in VAT amount.. they just want the retail price, discount and grand total.</div><div><br></div><div>on the other hand, IRS (tax authority) wants and needs VAT specification by VAT percentage (you could have different VAT % in same invoice) and this needs to be expressed in VAT block</div><div><br></div><div>so I need to express numbers for customers (only with VAT) and VAT amounts for IRS</div><div><br></div><div>PDF Maker custom functions does not allow function inside function so I need to create new variables so I can calculate amounts.</div><div><br></div><div>What comes to mind is just to add custom field that will express price with VAT and base all calculations on that value.</div><div><br></div><div>Anyway retailers need to calculate prices with VAT so it is only one field that needs to be filled more.</div><div><br></div><div>Any vtiger user with similar problems?</div><div><br></div><div>V.</div><div> </div><div><br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Vladimir Karažija</div><div>Kosa crta d.o.o.</div><div>Jagnedje 1</div><div>10090 Zagreb</div><div>OIB: 57724075047</div><div><br></div><div>t. +385 1 777 33 85</div><div>m. +385 91 122 0511<br></div><div><a href="http://www.kosacrta.hr" target="_blank">www.kosacrta.hr</a></div></div></div></div></div></div>
<br><div class="gmail_quote">On Tue, Sep 22, 2015 at 8:45 AM, Alan Lord <span dir="ltr"><<a href="mailto:alanslists@gmail.com" target="_blank">alanslists@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 21/09/15 22:56, Vladimir Karažija wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
I want to show all calculations in product block with VAT but still be<br>
able to show VAT amount and percent in VAT block.<br>
</blockquote>
<br></span>
This is pretty nasty bug IMHO:<br>
<br>
<a href="http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/8621" rel="noreferrer" target="_blank">http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/8621</a><br>
<br>
The Pre-tax Total always shows the same value as the total with tax... Go figure?<span class=""><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I am using PDF Maker and do not know PHP so would need help.<br>
</blockquote>
<br></span>
So you want to print the values from the Product block. You shouldn't need to know any PHP - all these values are available in PDFMaker using the Product Block section...<br>
<br>
See their example invoice etc...<br>
<br>
Al<br>
<br>
<br>
_______________________________________________<br>
<a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a><br>
</blockquote></div><br></div>