Commit 6bc4afbc9512e9f84b61839fb7984115dd2edce0

Authored by Alex Savenko
2 parents a2c6878a c784a5c9

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

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/app/frontend/views/page/changeWithSize.php
@@ -6,7 +6,7 @@ if(isset($special_user)) { @@ -6,7 +6,7 @@ if(isset($special_user)) {
6 } else { 6 } else {
7 $data['price'] = $item['price2']; 7 $data['price'] = $item['price2'];
8 } 8 }
9 -$data['price'] = $data['price']*(1-$this->discount/100); 9 +$data['price'] = $data['price']*(1-$discount/100);
10 $data['price'] = number_format($data['price'], 2, '.', ' '); 10 $data['price'] = number_format($data['price'], 2, '.', ' ');
11 11
12 $data['html'] = '<div class="clearfix buy_compare"> 12 $data['html'] = '<div class="clearfix buy_compare">