Commit d3bbe3f3833b83ff83c6b658db1ea965d6ce8985

Authored by Alex Savenko
2 parents 5e64e5bc b8583ddf

Merge branch 'discount' of gitlab.artweb.com.ua:Alex/semena

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
src/app/frontend/views/partial/item_group.php
... ... @@ -34,8 +34,8 @@
34 34 <div class="one_item_price">
35 35 <?= $t->_("price_from") ?>
36 36 <?php if (isset($discount) && $discount > 0) {
37   - echo '<span style="text-decoration: line-through;"><span>'.$i['price'].'</span> грн</span>';
38   - echo '<span>'.($i['price']*(1-$discount/100)).'</span> грн';
  37 + echo '<span style="text-decoration: line-through;"><span>'.$i['price'].'</span></span> грн<br/>';
  38 + echo '<span>'.round($i['price']*(1-$discount/100), 1).'</span> грн';
39 39 }
40 40 else {
41 41 echo '<span>'.$i['price'].'</span> грн';
... ...