Jump to content

zrusenie desatinych miest v štatistike


Maria_M

Recommended Posts

V modules/statshome/statshome.php je okolo line 68 (ver 1.3)

'.Tools::displayPrice($results['total_sales'], $currency).'



skus zamenit za

'.round($results['total_sales']).' '.$currency['sign'].'
// alebo s oddelovacom tisicov za
'.number_format($results['total_sales'], 0, ',', ' ').' '.$currency['sign'].'


Uz to ale nebude korektne zobrazovat napr. libry a dolare, kde znak meny sa uvadza pred cislom

Planujes obraty v 100tisicoch a nie je tam miesto? :D
O riadok vyssie su definovane styly pre odstavec

Doplnenim a nastavenim vhodneho font-size vojdu aj miliony spolu s centami.
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...