金柚
This commit is contained in:
@@ -32,8 +32,10 @@ class Package extends Model
|
|||||||
$price = $package['LinePrice'] * $discount / 100;
|
$price = $package['LinePrice'] * $discount / 100;
|
||||||
} else {
|
} else {
|
||||||
if (!empty($user_price)) {
|
if (!empty($user_price)) {
|
||||||
if ($package['Id'] == $user_price['PackageId']) {
|
foreach ($user_price as $k=>$v) {
|
||||||
$price = $user_price['UserPrice'];
|
if ($package['Id'] == $k) {
|
||||||
|
$price = $v;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user