Pat Posted October 27, 2008 Share Posted October 27, 2008 Zdravim,nevim jestli to uz nekdo opravoval nebo nejak resil, ale prisel jsem na jednu chybicku, ze celkova "Cena bez DPH" se pocita spatne a to z vysledne ceny. Tady vkladam opravu souboru classes/PDF.phpmisto tohoto radku $vat = $priceWithTaxAndReduction * (floatval($product['tax_rate']) / 100); ma byt tento $vat = $priceWithTaxAndReduction * (floatval($product['tax_rate']) / (100 + floatval($product['tax_rate']))); Snad to nekomu pomuze ) Link to comment Share on other sites More sharing options...
XM4N Posted October 31, 2008 Share Posted October 31, 2008 jj tohle pomůže:-)dík Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now