Commit e0688e1d44f04946290ed6d02b23082e9c40fa6d

Authored by Alex Savenko
1 parent 8f7c30bf

round

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/app/frontend/controllers/PageController.php
... ... @@ -1596,7 +1596,7 @@
1596 1596 $num = count($items);
1597 1597 for($i=0; $i<$num; $i++){
1598 1598 $items[$i]['full_alias'] = $this->models->getCatalog()->getFullAlias($this->lang_id, $items[$i]['catalog'])[0]['full_alias'];
1599   - $items[$i]['price2'] = $items[$i]['price2']*($users_group_discount/100);
  1599 + $items[$i]['price2'] = round($items[$i]['price2']*($users_group_discount/100), 1);
1600 1600 }
1601 1601  
1602 1602 foreach( $properties as $p )
... ...