diff --git a/src/app/frontend/views/partial/item_group.php b/src/app/frontend/views/partial/item_group.php
index f560270..2260759 100644
--- a/src/app/frontend/views/partial/item_group.php
+++ b/src/app/frontend/views/partial/item_group.php
@@ -37,17 +37,16 @@
// скидка
if (!empty($discount)) {
if ($discount['discount'] > 0 && $discount['discount'] <= 100 && in_array($i['id'], $discount['group_ids'])) {
- echo ''.round($i['price'], 2).' грн
';
- echo ''.round($i['price']*(1-$discount['discount']/100), 2).' грн';
+ echo ''.round($i['price'], 1).' грн
';
+ echo ''.round($i['price']*(1-$discount['discount']/100), 1).' грн';
}
else {
- echo ''.round($i['price'], 2).' грн';
+ echo ''.round($i['price'], 1).'12 грн';
}
}
else {
- echo ''.round($i['price'], 2).' грн';
+ echo ''.round($i['price'], 1).'3 грн';
}
- echo var_dump($discount);
?>