Commit 8551e207d42cd2ef9f398d412adf09ead4a75a6d
1 parent
e4e3f05a
applyDiscount() for user_group_discount //vip
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/app/frontend/controllers/MenuController.php
@@ -219,7 +219,7 @@ class MenuController extends \controllers\ControllerBase | @@ -219,7 +219,7 @@ class MenuController extends \controllers\ControllerBase | ||
219 | else { | 219 | else { |
220 | $users_group_discount = 0; | 220 | $users_group_discount = 0; |
221 | } | 221 | } |
222 | - if ($this->common->applyPromoCode($users_group_discount, $order['items'])) { | 222 | + if ($this->common->applyDiscount($users_group_discount, $order['items'])) { |
223 | $this->common->countOrderSum($order); | 223 | $this->common->countOrderSum($order); |
224 | } | 224 | } |
225 | 225 |