Revize 2331
Přidáno uživatelem David Raška před více než 10 roky(ů)
freenetis/branches/1.2/application/helpers/callback.php | ||
---|---|---|
|
||
// has rounding type?
|
||
|
||
if (property_exists($item, 'rounding_type') &&
|
||
/*if (property_exists($item, 'rounding_type') &&
|
||
in_array('round', $args))
|
||
{
|
||
$price = Invoices_Controller::round_price($price, $item->rounding_type);
|
||
}
|
||
else
|
||
{
|
||
{*/
|
||
$price = round($price, 2);
|
||
}
|
||
//}
|
||
|
||
$price = number_format($price, 2, ',', ' ') . ' ';
|
||
$price = str_replace(' ', ' ', $price);
|
Také k dispozici: Unified diff
Upravy:
- refs #870: Zakomentovani kodu, ktery bude fungovat az Honza commitne svuj kod