|
|
@@ -333,7 +333,8 @@ class DeclarationUpgradeForm extends Model
|
|
|
}
|
|
|
|
|
|
// 升级会员
|
|
|
- $userCountry = User::getEnCodeInfo($this->_insertUserId);
|
|
|
+ $userCountryId = User::getEnCodeInfo($this->_insertUserId)['COUNTRY_ID'];
|
|
|
+ $userCountry = Countries::getById($userCountryId);
|
|
|
$userCurrencyRate = CurrencyConversions::getToUSDRate($userCountry['LOCAL_CURRENCY_ID']);
|
|
|
// 报单中心汇率
|
|
|
$decCountry = User::getEnCodeInfo(\Yii::$app->user->id)['COUNTRY_ID'];
|