|
|
@@ -645,7 +645,8 @@ class DeclarationForm extends Model
|
|
|
}
|
|
|
|
|
|
// 报单中心汇率
|
|
|
- $decCountryId = User::getEnCodeInfo(\Yii::$app->user->id)['COUNTRY_ID'];
|
|
|
+ $userInfo = User::findOne(\Yii::$app->user->id);
|
|
|
+ $decCountryId = $userInfo->COUNTRY_ID;
|
|
|
$decCountry = Countries::getById($decCountryId);
|
|
|
$decUserCurrencyRate = CurrencyConversions::getToUSDRate($decCountry['LOCAL_CURRENCY_ID']);
|
|
|
// 升级会员汇率
|