Jump to content

Zaokrouhlovani ceny -> nasobek dle kusu


neonode

Recommended Posts

Ahoj,

 

resim neco, co jsem si myslel ze Presta dava sama, ale asi ne.

 

priklad

 

cena bez DPH je 3832.000000

Automaticke prepocitani na cenu s dani hodi 4598.4

Cena na webu se ukaze 4598

 

Clovek koupi 4 kusy - ukaze mu to cenu 18 394

 

A zakaznik pak vola a rika neco o zlodejich, protoze 4598 x 4 = 18 392

 

Pokud v nastaveni dam zaokrouhlovani nahoru, vymysli to cenu produktu 4599 a finalni cenu 18394 (nasobek je 18396, takze uz zakaznika neokradame, ale porad to nefunguje)

 

Pokud dam dolu, vyrobi to 4598, soucet 18393 (nasobek je 18392, takze okradame, ale o min :) )

 

Je tohle chyba verze (predposledni 1.4) chyba nastaveni nebo to proste neumi?

 

Diky moc

Michal

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...