<div dir="ltr">thnx Matus,<div><br></div><div>to display prouduct price with VAT I am using Product price with TAX - $PRODUCTTOTALSUM$ </div><div><br></div><div>When it gets complicated is when you calculate discount, because discount is calculated on List price and not on the Product price with TAX.</div><div><br></div><div>The logic of discount is problem. Discount is always calculated on List price.</div><div><br></div><div>If discount can be calculated on Product price with TAX then I could achieve what I want.</div><div><br></div><div>This requires custom work on vtiger side I think.</div><div><br></div><div>Because this is Retail related feature are there possible vtiger users that would like this feature implemented?</div><div><br></div><div>V.</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 2:57 PM, IT-Solutions4You <span dir="ltr"><<a href="mailto:info@its4you.sk" target="_blank">info@its4you.sk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">In PDF Maker you can choose this values:<br>
<a href="http://www.its4you.sk/en/pdf-maker/manual/21-pdf-maker/manual/66-editing-mapping" rel="noreferrer" target="_blank">http://www.its4you.sk/en/pdf-maker/manual/21-pdf-maker/manual/66-editing-mapping</a><br>
<br>
Subtotal        Price without TAX before discount, by Tax Mode: group = Net Total<br>
Total discount  Final Discount amount<br>
Total discount (%)      Final Discount in %<br>
Total without TAX       Total price without TAX after discount<br>
TAX     Total TAX amount<br>
TAX (%) Total TAX in %<br>
TAX block       This is useful for some countries, that need to have the detail amount of TAX<br>
Total with TAX  Total price with TAX<br>
Shipping & Handling taxes       Final taxes for Shipping & Handling<br>
Shipping & Handling amount      Final amount for Shipping & Handling<br>
Adjustment      Adjustment from vtiger form Grand Total Grand Total from vtiger form<br>
<br>
Matus<br>
<br>
<br>
Dňa 22. 9. 2015 o 10:59 Vladimir Karažija napísal(a):<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
Hi Alan,<br>
<br>
thnx for bug info.. I think this was an issue in 5.4 version also?<br>
<br>
regarding PDF Maker.. I think all logic in vtiger is towards wholesale<br>
business model and what I need is retail logic...<br>
<br>
retail customers are not interested in VAT amount.. they just want the<br>
retail price, discount and grand total.<br>
<br>
on the other hand, IRS (tax authority) wants and needs VAT specification<br>
by VAT percentage (you could have different VAT % in same invoice) and<br>
this needs to be expressed in VAT block<br>
<br>
so I need to express numbers for customers (only with VAT) and VAT<br>
amounts for IRS<br>
<br>
PDF Maker custom functions does not allow function inside function so I<br>
need to create new variables so I can calculate amounts.<br>
<br>
What comes to mind is just to add custom field that will express price<br>
with VAT and base all calculations on that value.<br>
<br>
Anyway retailers need to calculate prices with VAT so it is only one<br>
field that needs to be filled more.<br>
<br>
Any vtiger user with similar problems?<br>
<br>
V.<br>
<br>
<br>
Vladimir Karažija<br>
Kosa crta d.o.o.<br>
Jagnedje 1<br>
10090 Zagreb<br>
OIB: 57724075047<br>
<br>
t. <a href="tel:%2B385%201%20777%2033%2085" value="+38517773385" target="_blank">+385 1 777 33 85</a><br>
m. <a href="tel:%2B385%2091%20122%200511" value="+385911220511" target="_blank">+385 91 122 0511</a><br>
</div></div><a href="http://www.kosacrta.hr" rel="noreferrer" target="_blank">www.kosacrta.hr</a> <<a href="http://www.kosacrta.hr" rel="noreferrer" target="_blank">http://www.kosacrta.hr</a>><span class=""><br>
<br>
On Tue, Sep 22, 2015 at 8:45 AM, Alan Lord<br>
<<a href="mailto:alanslists@gmail.com" target="_blank">alanslists@gmail.com</a><br></span><span class="">
<mailto:<a href="mailto:alanslists@gmail.com" target="_blank">alanslists@gmail.com</a>>> wrote:<br>
<br>
    On 21/09/15 22:56, Vladimir Karažija wrote:<br>
<br>
        Hi,<br>
<br>
        I want to show all calculations in product block with VAT but<br>
        still be<br>
        able to show VAT amount and percent in VAT block.<br>
<br>
<br>
    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<br>
    tax... Go figure?<br>
<br>
        I am using PDF Maker and do not know PHP so would need help.<br>
<br>
<br>
    So you want to print the values from the Product block. You<br>
    shouldn't need to know any PHP - all these values are available in<br>
    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>
<br>
<br>
<br>
<br></span>
_______________________________________________<br>
<a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a><br>
<br>
</blockquote>
<br>
<br>
_______________________________________________<br>
<a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a></blockquote></div><br></div>